| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
The OSC identity v3 functional tests are failing due to [1] which
added 'password_expires_at' to the user object. This patch set
fixes the tests by updating user object fields list to include
'password_expires_at'.
[1] https://review.openstack.org/#/c/333360/
Change-Id: Id4b060115d4270899ca0af2dc7b67ee723388e31
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support bulk deletion for delete commands in the list below
identity/v3/consumer
identity/v3/credential
identity/v3/domain
identity/v3/ec2creds
identity/v3/endpoint
identity/v3/federation_protocol
identity/v3/identity_provider
identity/v3/mapping
identity/v3/policy
identity/v3/region
identity/v3/service_provider
identity/v3/service
The unit test in identityv3 need to be refactored, so I add
some functional tests instead. I will add all unit tests at
one time after the refactor completed.
Change-Id: I82367570f59817b47c87b6c7bfeae95ccfe5c50e
Closes-Bug: #1592906
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Commands are "ec2 credentials delete", "service delete", "endpoint delete".
Also update their unit tests and functional tests.
Partial-Bug: #1592906
Change-Id: I1a0b7160b803a523646d09d030e6f112c81c4c24
|
| |/
|
|
|
| |
Change-Id: I2abc75c94c1b6450f56bfcf2d8b1135e5caa3598
Signed-off-by: Vincent Legoll <vincent.legoll@idgrilles.fr>
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
tempest-lib is deprecated, so replace it with tempest.lib.
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
Change-Id: I0495eba110bb7581623fbcf49dc63a27e9cb6d64
Closes-Bug: #1553047
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
| |
Remove exceptions.py from functional/common.
Import exception with the same code from the tempest_lib to tests.
Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
'identity provider' commands had functional tests but 'service
provider' commands did not. Added the tests in a similar way to
how it is done it test_idp.
Change-Id: Id4b24ef7d34db65c6b0260c89327ec9be683284d
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If “ignore” is not set under flake8 in the tox.ini
file there there are defaults set to be ignored.
The depended patch fixes many of the problems.
Change-Id: Ieed2fe1c4654e201d3fe6d40ef93e247ee736f8b
Doc: http://flake8.readthedocs.org/en/latest/config.html#default
Depends-On: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d
Closes-Bug: #1548910
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
This reverts commit 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 based on [1].
[1] https://review.openstack.org/#/c/274703/
Change-Id: Ic10ef7c37d71e452fbc4bd36e28be79d669b4e3f
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
the parameter "url" was removed from Keystone, it was only added
for one release as part of an experimental support for adding
service providers.
BackwardsIncompatibleImpact
Closes-Bug: 1506841
Change-Id: I7a62fbf1d9bfa8e6dd8d619e98c32b9860348d2e
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
add tests for:
* delete
* set
* list
* show
Change-Id: Ibe34f28d7ae77d139a6e0edf4fe04215c371c9a8
|
| |/
|
|
|
|
|
|
|
| |
keystone added a new property to projects, called is_domain.
our functional tests fail because we are not expecting that in
the project's 'show' command.
Change-Id: Idf05118155847e3a6002818c44b99825801ea9f4
Related-Bug: #1487600
|
| |
|
|
|
|
| |
Identity Provider currently doesn't have test coverage.
Change-Id: Iea2e705f9d2303f58516f08a7526135988032025
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: Ib17ba0cd71068ba8d7e7665160daf3ae0735971b
Related-Bug: #1475357
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
add tests for endpoint and service.
Change-Id: Iec80106d6e4c310cea1c5af262d145ac1f56525e
Implements: blueprint identity-functional-tests
|
| |/
|
|
|
|
|
| |
add functional tests for endpoint, region and service.
Change-Id: I504878811dc8f9fcb2295cbf7419885959d9c1f6
Implements: blueprint identity-functional-tests
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no assert_called() method in mock, replace it with
assert_called_with() method. The old method used to work with
mock 1.0.1 because it was a noop in magicmock.
Needs https://review.openstack.org/#/c/200583 to pass the requirements check.
https://review.openstack.org/#/c/193935/ changed the OS_* vars
we source by forcing v2password as the auth method.
change our identity v3 test setup by setting v3password
Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>
Closes-Bug: 1473454
Depends-on: I0cfab6d13e5d9e744cb302c86a2c21269923e75d
Change-Id: Id22765c7e044797e03d19ad1b103fadec2726aa2
|
| |
|
|
|
|
|
|
|
|
|
| |
To make test cases more clearly, split test_identity.py
into test_user.py, test_role, etc. Add more test cases for
user, role, etc. Furthermore, to make functional tests run
repeatedly without raising duplicated error, clean up
resources before exiting each test case.
Change-Id: I1541943ad0b8d4d8d1e72822c159fda243b3d1d7
Implements: blueprint identity-functional-tests
|
| |
|
|
|
|
|
| |
Remove unique class names because they are module scoped. Also,
add cleanup of the tmp file in the object test.
Change-Id: I8107a02b13ff87793ba1e56e0f0ad26890f24369
|
|
|
The tests should be further divded by project version, similar to
the structure of the unit tests.
Change-Id: Ied3a4204983cdd253c5602a60968c066038d88f2
|