126 Commits

Author SHA1 Message Date
Steve Martinelli
2bd82ab892 image set should not show the resource
the rest of OSC set commands do not show the resource after it has
been updated. unless the update fails then we report back a failure,
otherwise the user should assume everything went fine.

Change-Id: I2bd4188450c3853b4a1bc25f80fc9450cda32bdd
2015-10-06 20:14:54 +00:00
Steve Martinelli
817ab3ec0e set image api to 1 for functional tests
devstack now defaults to image api v2, but osc does not support
v2 image create. set the functional tests to use v1 for now
to unwedge the gate.

Closes-Bug: #1496337
Change-Id: Ia02ed761446b8de52c932a424b9c423691ebcceb
2015-09-16 19:33:34 +00:00
TerryHowe
48f7f0f1bc Automate flavors, networks, and image get
Functional tests rely on some sort of configuration and
rather than configure something right now, how about it
pulls something from the middle of the available list.

Change-Id: I8147e40e5ee7393d8a8dcf1b0beb48856f28af7e
2015-08-22 17:32:54 +00:00
Jenkins
3751dbf127 Merge "additional functional tests for identity providers" 2015-08-22 04:40:13 +00:00
Steve Martinelli
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
Kelvin Lui
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
Steve Martinelli
d0cb0d1192 Skip functional test: test_server_up
seems like test_server_up is causing intermittent issues in our
CI, skipping for now, so we can proceed with merging code.

Change-Id: Id41a78e703d7b416dfdc9a7bc95b19a8999192e3
Related-Bug: 1483422
2015-08-10 15:09:10 -07:00
Robert Francis
4850728b99 Add functional test for volume type create --property
Combine test_volume_set_one_propety and
test_volume_type_set_unset_properties.

Change-Id: Ia8862a59161f6a15880b87ea305fb5bb15c31300
2015-08-05 07:25:06 -04:00
Jenkins
7e9c1946f2 Merge "Added a new function test for volume type set" 2015-08-03 21:46:09 +00:00
Jenkins
2039011097 Merge "Introduce functional test for Identity Provider" 2015-08-03 20:39:15 +00:00
JP Parkin
d52ecfc058 Added a new function test for volume type set
This is a new test to validate the setting of one property
for an existing volume type

Change-Id: Ia9a7d86ce9b0d8df9d64ddc1df2d443843bba5ef
2015-08-03 14:55:32 -04:00
Jenkins
20d32dd362 Merge "Removed unnecessary assignment of function result Joined lines together" 2015-08-01 06:11:23 +00:00
Kelvin Lui
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
Joe Wigglesworth
cfb99cb9b1 Removed unnecessary assignment of function result
Joined lines together

Change-Id: Iffe19c309369301137cfd52c8ea1aa988ce39f7e
2015-07-31 11:02:33 -04:00
Jenkins
bd022cb58c Merge "Added test for volume type show" 2015-07-31 08:57:30 +00:00
Jenkins
6787017bdc Merge "Set OS_VOLUME_API_VERSION before running functional tests" 2015-07-30 21:14:39 +00:00
Jenkins
3a6cb49200 Merge "New test for configuration show --mask" 2015-07-30 20:39:04 +00:00
Jenkins
811ed669ad Merge "add new test for configuration show unmask" 2015-07-30 20:30:57 +00:00
Yunpeng Li
235cd227bd New test for configuration show --mask
Change-Id: I56bb110d25b9f05cb1a706ecc5bbf5b6b154b240
2015-07-30 12:26:38 -07:00
Jenkins
f03eca3f05 Merge "New test for configuration show" 2015-07-30 19:16:00 +00:00
John Keenleyside
4ebeb25b23 add new test for configuration show unmask
Change-Id: Ib85bfa627f4ddee9e017f148c86a6d7d640bfba4
2015-07-30 15:07:48 -04:00
Steve Martinelli
acb1c94750 Set OS_VOLUME_API_VERSION before running functional tests
For v1 functional tests, set the env. var.

Change-Id: I6c554932bdb8f99438d4f2ae855eb16c5bb3a357
2015-07-30 11:28:31 -07:00
Kenneth Chu
d7d2b92cff Added test for volume type show
Change-Id: I05bbbdd8389f57d567b02391cbbc52448a9a2e7a
2015-07-30 13:39:43 -04:00
Radu Mateescu
149ce52614 Add functional tests for volume type list
add tests for `os volume type list`

Change-Id: Icd874b9cfac9376cc410041806fac64f1ff0c59d
2015-07-29 20:15:00 +00:00
Manuel Silveyra
4b86324ee2 New test for configuration show
Creates a new common file for configuration tests.

Change-Id: Id4c26759dfec5d508b762d0b54386f258a362971
2015-07-29 13:03:12 -07:00
TerryHowe
ea103cab1d Add functional tests server reboot
Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff
2015-07-18 15:08:46 +00:00
TerryHowe
a9f85736ef Add functional tests server IP attach and detach
Change-Id: Id87a5474e2df80c9ef84a6c554f12116302a38b3
2015-07-18 09:08:26 -06:00
TerryHowe
d79900a075 Add functional tests for servers that require wait
Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc
2015-07-18 12:22:45 +00:00
Jenkins
fcadb16470 Merge "Add functional tests for volume qos" 2015-07-18 12:19:04 +00:00
Jenkins
154f4ed347 Merge "enhance tests for user v3" 2015-07-18 00:55:06 +00:00
Jenkins
7f5bcb5a5b Merge "add functional tests for identity v2" 2015-07-17 23:30:30 +00:00
Guojian Shao
ff3dbddf59 enhance tests for user v3
Change-Id: Ib17ba0cd71068ba8d7e7665160daf3ae0735971b
Related-Bug: #1475357
2015-07-17 19:34:16 +00:00
Guojian Shao
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
TerryHowe
d82b1f9d73 Add functional tests for volume qos
Change-Id: I80010b56b399bc027ac864304be60a3ee53bda00
2015-07-17 14:15:16 +00:00
Guojian Shao
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
Jenkins
1ea34fc8a5 Merge "add functional tests for identity v2" 2015-07-13 17:17:06 +00:00
lin-hua-cheng
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
Guojian Shao
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
Jenkins
f07f71661f Merge "add functional tests for identity v3" 2015-07-07 18:11:25 +00:00
Guojian Shao
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
Jenkins
dfa80ee9c0 Merge "Add functional tests for volume set size" 2015-07-06 18:52:17 +00:00
Jenkins
e57808d962 Merge "Add functional tests for security group CRUD" 2015-07-06 18:01:35 +00:00
Jenkins
1a45b20ba1 Merge "Add functional tests for flavor metadata" 2015-07-06 17:04:02 +00:00
Jenkins
541ec43cf0 Merge "Add flavor functional test" 2015-07-06 16:04:55 +00:00
Jenkins
8c7e6e7de6 Merge "Add functional tests for server CRUD" 2015-07-05 15:25:41 +00:00
TerryHowe
ce65164155 Add functional tests for image set
This patch includes functional tests for image set and it includes
a change to use the OSC utils.format_dict method to format the
properties.  This will give a more user friendly format to the image
commands and it gives a more consistent testable format to the
output.  Instead of:

{u'a': u'b', u'c': u'd'}

The user will see:

a=b, c=d

Change-Id: Ib396316586ffc5dbab231064d5b6dc9425507934
2015-06-16 12:34:00 +00:00
TerryHowe
ebddb1005d Add functional tests for volume set size
Change-Id: Ie369c6366e1d0632ab1892fd019f5b12528c195b
2015-06-11 13:45:35 -06:00
TerryHowe
c7868451f5 Add functional tests for server CRUD
Change-Id: I77f292d47a9bea6a5b486ce513c0c19ec8c845dd
2015-06-11 18:10:03 +00:00
TerryHowe
83f5befc5e Add functional tests for flavor metadata
Change-Id: Iae7a3f61c0c9777ee2511558d8942243066a8c60
2015-06-11 08:37:35 -06:00
TerryHowe
b0ed8660b1 Add flavor functional test
Change-Id: I3166e1c3fb0f9b89cff8f083d30cb15e7196f59a
2015-06-11 08:32:56 -06:00