summaryrefslogtreecommitdiff
path: root/openstackclient/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "Support icmp-type and icmp-code to be set as zero"Jenkins2017-09-271-0/+170
|\ \ \
| * | | Support icmp-type and icmp-code to be set as zerogvrangan2017-09-261-0/+170
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | When icmp-type or icmp-code are set to 0, the current implementation ignores the value, this fix will allow the value to be copied and displayed Change-Id: I96133a57883d22e98fcbb9fe0328d9e050472469 Signed-off-by: gvrangan <venkatrangang@hcl.com>
* | | Merge "Fix 'project purge' deletes ALL images problem"Jenkins2017-09-273-12/+14
|\ \ \
| * | | Fix 'project purge' deletes ALL images problemlihaijing2017-09-263-12/+14
| |/ / | | | | | | | | | | | | Closes-Bug: #1717130 Change-Id: I33c6fc7897dfee85d1c197a1267bde4abfa5bbd9
* | | Merge "Add "volume service list --host" functional test case"Jenkins2017-09-261-2/+12
|\ \ \
| * | | Add "volume service list --host" functional test caselihaijing2017-09-191-2/+12
| | | | | | | | | | | | | | | | Change-Id: I467252d9fc6083fb891a8701d7992f16ce42556f
* | | | Merge "Update the documentation link for doc migration"Jenkins2017-09-262-2/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Update the documentation link for doc migrationlingyongxu2017-09-212-2/+2
| |/ / | | | | | | | | | | | | | | | | | | This patch is proposed according to the Direction 10 of doc migration(https://etherpad.openstack.org/p/doc-migration-tracking). Change-Id: Ieca93d77bfc5e54486312f16122cc12c5bda0934
* | | Merge "Add functional test cases for "volume qos associate/disassociate""Jenkins2017-09-191-1/+93
|\ \ \
| * | | Add functional test cases for "volume qos associate/disassociate"lihaijing2017-09-181-1/+93
| |/ / | | | | | | | | | | | | Change-Id: I07b25bebb8a0ea18cdf042357be65c4ec6e1cfed Closes-Bug: #1717874
* | | Unroll the network qos policy functional testsDean Troyer2017-09-171-33/+42
|/ / | | | | | | | | | | | | These seem to have gotten a bit racy in the last revision, just do it the long way now. Change-Id: I3748b8b4f264dbfa8c991b32653682e5c86eeb4c
* | Merge "Attempt to work around chronically failing server issues with ↵Jenkins2017-09-162-4/+15
|\ \ | | | | | | | | | aggregates and qos"
| * | Attempt to work around chronically failing server issues with aggregates and qosDean Troyer2017-09-152-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | So yeah, this is not kosher for functional tests, but we're testing the client interaction, not the raciness of Nova or Neutron. Failure to delete is not our problem. Change-Id: I21043f1de0fbacee1aec63110fb12a7cff42e0a0
* | | Fix subunit collection in functional tests with ostestr>=1.0.0Matthew Treinish2017-09-152-0/+16
|/ / | | | | | | | | | | | | | | | | With the release of os-testr 1.0.0 stestr is used internally and because of that the repository dir and commands to get subunit are different. This commit updates the post-test hook to get the subunit stream if ostestr>=1.0.0 is used. Change-Id: I2cce7f4780ce418398b17a5848def9072372841e
* | Merge "Correct import of keystoneauth1 session"Jenkins2017-09-131-1/+1
|\ \
| * | Correct import of keystoneauth1 sessionGage Hugo2017-09-121-1/+1
| |/ | | | | | | | | | | | | | | keystoneclient.session has been long deprecated in favor of keystoneauth1.session. This change corrects the import in the tests to use the correct library's session. Change-Id: Ic24ebde59e4b9eb70d6f14c1e0536f8d24f0de73
* | Skip Volume v1 functional tests if v1 not presentDean Troyer2017-09-121-3/+24
|/ | | | | | | | Volume v1 is gone in Queens Just skip it for now until DevStack does not create a v1 endpoint Change-Id: I2aa2f78b0d5c8ac2048c922c7835e5c4574028cc
* Merge "Convert remaining network functional tests to JSON"Jenkins2017-08-252-55/+39
|\
| * Convert remaining network functional tests to JSONAkihiro Motoki2017-08-232-55/+39
| | | | | | | | Change-Id: Ib7dff5506cc69549b5b1fbb8bf6e649468563dd6
* | Merge "Convert network qos functional tests to JSON"Jenkins2017-08-243-233/+193
|\ \ | |/
| * Convert network qos functional tests to JSONAkihiro Motoki2017-08-233-233/+193
| | | | | | | | Change-Id: Ie5cde2f927ec6abb6334ea01adfb06749384ed01
* | Merge "Convert network security group functional tests to JSON"Jenkins2017-08-242-106/+52
|\ \ | |/
| * Convert network security group functional tests to JSONAkihiro Motoki2017-08-232-106/+52
| | | | | | | | Change-Id: Icb63aa0dfbce9016fb824f97915a660cf130d120
* | Merge "flake8-import-order: Ensure to place project imports last"Jenkins2017-08-244-6/+7
|\ \
| * | flake8-import-order: Ensure to place project imports lastAkihiro Motoki2017-08-224-6/+7
| |/ | | | | | | | | | | | | | | To ensure project imports are placed after third party import, we need to specify application-import-names. Previously flake8-import-check checked only standard imports or not. Change-Id: Iad7afa456cec7cf5b44955f1ea03c593a4c0e426
* | Implied RolesHarry Rybacki2017-08-222-0/+205
|/ | | | | | | | | | | | | | | | | Allow the user to create an inference rule between two roles. The first, called the prior role is the role explicitly assigned to an individual. The second, called the implied role, is one that the user gets implicitly. For example: Role B implies Role A. User X is assigned Role B. Therefore User X also assigned Role A. The management and maintenance of the rules is performed in the Keystone server. Change-Id: If547c2f16e812bc7fffd742ec37e6a26011f3185
* Use flake8-import-order pluginAkihiro Motoki2017-08-1738-33/+45
| | | | | | | | | | | | | | | | In reviews we usually check import grouping but it is boring. By using flake8-import-order plugin, we can avoid this. It enforces loose checking so it sounds good to use it. This flake8 plugin is already used in tempest. Note that flake8-import-order version is pinned to avoid unexpected breakage of pep8 job. Setup for unit tests of hacking rules is tweaked to disable flake8-import-order checks. This extension assumes an actual file exists and causes hacking rule unit tests. Change-Id: I12b596820727aeeb379bee16c2bc993dee9eb637
* Convert network segment functional tests to JSONDean Troyer2017-08-131-45/+99
| | | | Change-Id: I8dc1e992d54c63c93bbe2bdd7acba61a7a6773d0
* Merge "network functest: Remove condition for segment test"Jenkins2017-07-282-89/+48
|\
| * network functest: Remove condition for segment testAkihiro Motoki2017-07-272-89/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously fucntional tests for network segment feature are skipped as neutron 'segment' API extension was disabled in the gate. We now enable neutron 'segment' API extension, so we can safely drop the check for the segment extension from the test code. Also setup code in test_network_segment is moved from setUpClass to setUp. There is no good reason to do them in setUpClass and having them in setUp simplifies the test code. no user once this commit is applied. Change-Id: I183310b94d9b6d7f4311a3859b59dc22d36440db
* | Merge "Use instance variables for subnet tests"Jenkins2017-07-271-141/+146
|\ \
| * | Use instance variables for subnet testsGary Kotton2017-07-261-141/+146
| | | | | | | | | | | | | | | | | | | | | Commit 78a832441af3928994446d2afab07f0abb0dd26a let to random failures of test_create_with_tags. This addresses that issue. Change-Id: I470da7a1863a8c22257b1c27bc6d2b1c45c9cca3
* | | Skip object-store functional tests when Swift is not availableDean Troyer2017-07-263-11/+48
|/ / | | | | | | | | | | | | | | Specifically, in the py3 jobs Swift is not (yet) properly starting as a py2 service, so we disabled swift in those OSC jobs and need to skip the object-store functional tests in that case. Change-Id: I073551c41b7636f04b3ee97dc6fe69630e207b67
* | Merge "Use *_as_ids instead *_as_list"Jenkins2017-07-261-10/+10
|\ \
| * | Use *_as_ids instead *_as_listRodrigo Duarte Sousa2017-03-011-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parents_as_list and subtree_as_list query parameters limit the result to only parents and subtree where the user making the call has role assignments in. Since OSC only displays the IDs, the call would be the same as the similar *_as_ids queries, the difference is that the later doesn't enforce the role assignments (making it more useful). Output example by using this patch: $ openstack project show --children root +-------------+------------------------------+ | Field | Value | +-------------+------------------------------+ | description | | | domain_id | default | | enabled | True | | id | 123 | | is_domain | False | | name | root | | parent_id | default | | subtree | {u'456': None, u'789': None} | +-------------+------------------------------+ Change-Id: Ib7b37ae8f55190a7efcc375d5be4a2823d02d1a4
* | | Merge "Add optional parameter "user_id" and "type" to list credentials"Jenkins2017-07-251-1/+29
|\ \ \
| * | | Add optional parameter "user_id" and "type" to list credentialszhanghongtao2017-07-251-1/+29
| | |/ | |/| | | | | | | | | | | | | | | | | | | In keystone version 3.5, "type" optional attribute has been added to list credentials. This patch add "user_id" and "type" optional parameter in openstack client. Change-Id: Ia09ee7c39204fdff2dfd7b9b606d888d007caac5
* | | network tag UT: avoid using mix-in test classAkihiro Motoki2017-07-256-359/+628
|/ / | | | | | | | | | | | | | | | | | | This is a follow-up patch on https://review.openstack.org/#/c/461195/ There is a suggestion to keep test code more straight-forward and avoid using mix-in to reduce the code complexity. This commit moves all logic implemented in _test_tag.py into individual network tests. Change-Id: I0a9f8c6cd758db9035b0fd60ce4b9bfc791b6cbd
* | Network tag supportAkihiro Motoki2017-07-2314-90/+641
| | | | | | | | | | | | | | | | | | | | | | | | | | Neutron tag mechanism now supports network, subnet, port, subnetpool and router. Tag support for more resources is planned. This commit introduces a common mixin class to implement tag operation and individual resource consumes it. To support tag remove, network unset command is added. Implements blueprint neutron-client-tag Change-Id: Iad59d052f46896d27d73c22d6d4bb3df889f2352
* | Add domain parameter to Identity ProviderKristi Nikolla2017-07-212-3/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Identity providers are now associated with domains. This change allows a user to specify a domain by ID or by name when creating an identity provider. [0] This also adds the column for Domain ID in listing. Updating a domain for an identity provider is not supported, so that isn't changed. [0]. Id18b8b2fe853b97631bc990df8188ed64a6e1275 Closes-Bug: 1698390 Change-Id: Icc408e2fe88f257d5863bd3df716a777d52befcc
* | Merge "Clean up the changes of os.environ in functional tests"Jenkins2017-07-2137-228/+336
|\ \
| * | Clean up the changes of os.environ in functional testsRui Chen2017-07-2037-228/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fixtures to restore the API version changes of os.environ in each functional tests, aims to avoid the following test cases failing in unexpected context. And make sure setUpClass/tearDownClass call super class's corresponding methods first. Change-Id: Ie248fe9d3a9e25f1b076c9f2c363200f29a83817 Closes-Bug: #1696080
* | | Merge "Now OSC server create check keys in --nic"Jenkins2017-07-201-0/+60
|\ \ \
| * | | Now OSC server create check keys in --nicM V P Nitesh2017-06-231-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now OSC command to create server will check all the keys in --nic and throws an exception if the key is invalid key. Change-Id: I5482da0ae63d6d4298aa614e4d09bb0547da9ec3 Closes-Bug: #1681411
* | | | Merge "Enable some off-by-default checks"Jenkins2017-07-202-6/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Enable some off-by-default checksblue552017-06-232-6/+2
| |/ / | | | | | | | | | | | | | | | | | | Some of the available checks are disabled by default, like: [H203] Use assertIs(Not)None to check for None Change-Id: I59dafb62cedc5217b6e5eb6efb997a9ee3c29bbb
* | | Merge "Network L3 Router Commands for OSC"Jenkins2017-07-204-24/+269
|\ \ \
| * | | Network L3 Router Commands for OSCAnkur Gupta2017-07-114-24/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements: blueprint network-l3-commands Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Ia24d76227e164062e89a74c1621b8acb830b26cf
* | | | Merge "Fix 'domain' filter not work well in some commands"Jenkins2017-07-202-1/+83
|\ \ \ \
| * | | | Fix 'domain' filter not work well in some commandsjiangpch2017-07-182-1/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'domain' filter not work well in commands 'project show', 'user show' and 'user set'. Depends-On: I490900d6249f01654d4cba43bddd3e7af7928a84 Closes-Bug: #1704097 Change-Id: Ib4f47cbaba27eb56c4a41d187fee74a995e62dc7