summaryrefslogtreecommitdiff
path: root/functional/tests/identity/v2
Commit message (Collapse)AuthorAgeFilesLines
* move all functional tests to tests moduleSteve Martinelli2016-09-0910-640/+0
| | | | | | | | | | | | | | functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
* Merge "Support multi-delete for commands in identity V2"Jenkins2016-06-243-0/+22
|\
| * Support multi-delete for commands in identity V2sunyajing2016-06-233-0/+22
| | | | | | | | | | | | | | | | Commands are "ec2 credentials delete", "service delete", "endpoint delete". Also update their unit tests and functional tests. Partial-Bug: #1592906 Change-Id: I1a0b7160b803a523646d09d030e6f112c81c4c24
* | Remove code forgotten in cb28fb55884a9be7cd70c37343181116cf000a42Vincent Legoll2016-06-241-3/+0
|/ | | | | Change-Id: I2abc75c94c1b6450f56bfcf2d8b1135e5caa3598 Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
* use env vars to specify OS_IDENTITY_API_VERSIONSteve Martinelli2016-06-209-23/+28
| | | | | | | | If the default identity API version were to change in devstack, the v2.0 tests would fail today, resulting in a broken OSC gate. Change-Id: Id634ea7e0fab9f3772383b5512ccac19f5119ac0
* Replace tempest-lib with tempest.libDaniel Gonzalez2016-04-293-4/+4
| | | | | | | | | tempest-lib is deprecated, so replace it with tempest.lib. Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com> Change-Id: I0495eba110bb7581623fbcf49dc63a27e9cb6d64 Closes-Bug: #1553047
* Merge "Prefer assertEqual/assertIn over assertOutput/assertInOutput"Jenkins2016-04-141-1/+1
|\
| * Prefer assertEqual/assertIn over assertOutput/assertInOutputCedric Brandily2016-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | functional.common.tests module defines: * assertOutput (similar to assertEqual) * assertInOutput (similar to assertIn) in order to allow the usage of assertions in testcase classmethods but there is no reason to use them in testcase instancemethods at least because they raise Exception instances instead of AssertionError instances. Change-Id: I9ffcaf9c6e6a1ff5df6ea2d79be3fb4496db4b85
* | Use CommandFailed exception from tempest_libKyrylo Romanenko2016-04-131-1/+1
|/ | | | | | | Remove exceptions.py from functional/common. Import exception with the same code from the tempest_lib to tests. Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
* Correct addCleanup use in functestsCedric Brandily2016-04-062-30/+31
| | | | | | | | | | | | | | | | | | | | | This change replaces in many identity functests the pattern: raw_resource = create_resource(...) check(raw_resource) self.addCleanup(delete_resource, ...) ... by the pattern: raw_resource = create_resource(...) self.addCleanup(delete_resource, ...) check(raw_resource) ... which ensures that cleanup is defined and called after the test even if check(resource) fails. Change-Id: I4da541b7552d06eaffafda446e389bb552422cda
* Fix identity test_role functional testsRichard Theis2016-02-111-1/+1
| | | | | | | | | | A recent keystone change [1] resulted in the domain_id field being included when showing a role. [1] https://github.com/openstack/keystone/commit/407eabde417e85bb35bc7cbf1995857f4b20aeca Change-Id: I344f4d727f2a16217c075ad8b8393c1e0a233c2e Closes-Bug: #1544547
* Revert "Skip identity v2 functional tests"Richard Theis2016-02-018-24/+0
| | | | | | | | This reverts commit 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 based on [1]. [1] https://review.openstack.org/#/c/274703/ Change-Id: Ic10ef7c37d71e452fbc4bd36e28be79d669b4e3f
* Skip identity v2 functional testsRichard Theis2016-01-298-0/+24
| | | | | | | | | | | DevStack now uses identity v3 by default thus causing OSC to only load openstack.identity.v3 commands. This prevents running functional tests on openstack.identity.v2 commands. As a result, this patch set skips all identity v2 functional tests to unblock the gate. Change-Id: I066187318be71792a966fa21226fab0d406c3758 Partial-Bug: #1539780
* Implementation for project unset cmd for python-openstackclient.Jude Job2016-01-041-3/+5
| | | | | | | | | This patch introduces a unit test class TestProjectUnset for testing unset cmd. Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Ib4a414d2313e3d37e48d1cb3639f064231aec508 Closes-Bug: #1486597
* add functional tests for identity v2Guojian Shao2015-07-173-0/+125
| | | | | | | add tests for endpoint and service. Change-Id: Iec80106d6e4c310cea1c5af262d145ac1f56525e Implements: blueprint identity-functional-tests
* add functional tests for identity v2Guojian Shao2015-07-107-88/+462
| | | | | | | | | split test_identity.py into test_user.py, test_project, etc. To make functional tests run repeatedly without raising duplicated error, clean up resources before exiting each test case. Change-Id: I8f31ccbd70f1cccdab8b3720aac179e2e399486d Implements: blueprint identity-functional-tests
* Remove unique class names because they are scopedTerryHowe2015-04-271-2/+2
| | | | | | | Remove unique class names because they are module scoped. Also, add cleanup of the tmp file in the object test. Change-Id: I8107a02b13ff87793ba1e56e0f0ad26890f24369
* Re-organize functional testsSteve Martinelli2015-04-172-0/+114
The tests should be further divded by project version, similar to the structure of the unit tests. Change-Id: Ied3a4204983cdd253c5602a60968c066038d88f2