Commit Graph

17 Commits

Author SHA1 Message Date
a2a63f19bf Implementation for project unset cmd for python-openstackclient.
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
2016-01-04 10:25:55 -05:00
539c39bfaf remove url from v3 regions
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
2015-10-21 13:21:20 +00:00
3751dbf127 Merge "additional functional tests for identity providers" 2015-08-22 04:40:13 +00:00
59d12a63b4 unwedge the osc gate
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
2015-08-21 15:33:48 -05:00
8fb19bc2a9 additional functional tests for identity providers
add tests for:

  * delete
  * set
  * list
  * show 

Change-Id: Ibe34f28d7ae77d139a6e0edf4fe04215c371c9a8
2015-08-21 16:07:58 +00:00
cd98e063eb Introduce functional test for Identity Provider
Identity Provider currently doesn't have test coverage.

Change-Id: Iea2e705f9d2303f58516f08a7526135988032025
2015-08-01 01:38:20 -04:00
154f4ed347 Merge "enhance tests for user v3" 2015-07-18 00:55:06 +00:00
7f5bcb5a5b Merge "add functional tests for identity v2" 2015-07-17 23:30:30 +00:00
ff3dbddf59 enhance tests for user v3
Change-Id: Ib17ba0cd71068ba8d7e7665160daf3ae0735971b
Related-Bug: #1475357
2015-07-17 19:34:16 +00:00
566987ecf1 add functional tests for identity v3
add functional tests for endpoint, region and service.

Change-Id: I504878811dc8f9fcb2295cbf7419885959d9c1f6
Implements: blueprint identity-functional-tests
2015-07-17 15:00:23 +00:00
cc522821f6 add functional tests for identity v2
add tests for endpoint and service.

Change-Id: Iec80106d6e4c310cea1c5af262d145ac1f56525e
Implements: blueprint identity-functional-tests
2015-07-17 16:56:51 +08:00
1ea34fc8a5 Merge "add functional tests for identity v2" 2015-07-13 17:17:06 +00:00
f807f0a66e Fix wrong mock method call
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
2015-07-11 18:57:20 -04:00
e76de2c204 add functional tests for identity v2
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
2015-07-10 15:35:58 +08:00
aa3b3c1f0f add functional tests for identity v3
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
2015-07-07 15:57:36 +08:00
75d3130ab2 Remove unique class names because they are scoped
Remove unique class names because they are module scoped.  Also,
add cleanup of the tmp file in the object test.

Change-Id: I8107a02b13ff87793ba1e56e0f0ad26890f24369
2015-04-27 13:51:39 -06:00
6c4f81516c Re-organize functional tests
The tests should be further divded by project version, similar to
the structure of the unit tests.

Change-Id: Ied3a4204983cdd253c5602a60968c066038d88f2
2015-04-17 13:37:44 -04:00