Commit Graph

64 Commits

Author SHA1 Message Date
20d32dd362 Merge "Removed unnecessary assignment of function result Joined lines together" 2015-08-01 06:11:23 +00:00
cfb99cb9b1 Removed unnecessary assignment of function result
Joined lines together

Change-Id: Iffe19c309369301137cfd52c8ea1aa988ce39f7e
2015-07-31 11:02:33 -04:00
bd022cb58c Merge "Added test for volume type show" 2015-07-31 08:57:30 +00:00
6787017bdc Merge "Set OS_VOLUME_API_VERSION before running functional tests" 2015-07-30 21:14:39 +00:00
3a6cb49200 Merge "New test for configuration show --mask" 2015-07-30 20:39:04 +00:00
811ed669ad Merge "add new test for configuration show unmask" 2015-07-30 20:30:57 +00:00
235cd227bd New test for configuration show --mask
Change-Id: I56bb110d25b9f05cb1a706ecc5bbf5b6b154b240
2015-07-30 12:26:38 -07:00
f03eca3f05 Merge "New test for configuration show" 2015-07-30 19:16:00 +00:00
4ebeb25b23 add new test for configuration show unmask
Change-Id: Ib85bfa627f4ddee9e017f148c86a6d7d640bfba4
2015-07-30 15:07:48 -04:00
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
d7d2b92cff Added test for volume type show
Change-Id: I05bbbdd8389f57d567b02391cbbc52448a9a2e7a
2015-07-30 13:39:43 -04:00
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
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
ea103cab1d Add functional tests server reboot
Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff
2015-07-18 15:08:46 +00:00
a9f85736ef Add functional tests server IP attach and detach
Change-Id: Id87a5474e2df80c9ef84a6c554f12116302a38b3
2015-07-18 09:08:26 -06:00
d79900a075 Add functional tests for servers that require wait
Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc
2015-07-18 12:22:45 +00:00
fcadb16470 Merge "Add functional tests for volume qos" 2015-07-18 12:19:04 +00: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
d82b1f9d73 Add functional tests for volume qos
Change-Id: I80010b56b399bc027ac864304be60a3ee53bda00
2015-07-17 14:15:16 +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
f07f71661f Merge "add functional tests for identity v3" 2015-07-07 18:11:25 +00: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
dfa80ee9c0 Merge "Add functional tests for volume set size" 2015-07-06 18:52:17 +00:00
e57808d962 Merge "Add functional tests for security group CRUD" 2015-07-06 18:01:35 +00:00
1a45b20ba1 Merge "Add functional tests for flavor metadata" 2015-07-06 17:04:02 +00:00
541ec43cf0 Merge "Add flavor functional test" 2015-07-06 16:04:55 +00:00
8c7e6e7de6 Merge "Add functional tests for server CRUD" 2015-07-05 15:25:41 +00:00
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
ebddb1005d Add functional tests for volume set size
Change-Id: Ie369c6366e1d0632ab1892fd019f5b12528c195b
2015-06-11 13:45:35 -06:00
c7868451f5 Add functional tests for server CRUD
Change-Id: I77f292d47a9bea6a5b486ce513c0c19ec8c845dd
2015-06-11 18:10:03 +00:00
83f5befc5e Add functional tests for flavor metadata
Change-Id: Iae7a3f61c0c9777ee2511558d8942243066a8c60
2015-06-11 08:37:35 -06:00
b0ed8660b1 Add flavor functional test
Change-Id: I3166e1c3fb0f9b89cff8f083d30cb15e7196f59a
2015-06-11 08:32:56 -06:00
46f61c87b8 Add functional tests for security group CRUD
Change-Id: Ib5bbd46c0454d7dbb541354d515430922569c994
2015-06-10 11:52:52 -06:00
8d185a6a6f Add functional tests for volume set and unset
Add functional tests for volume set and unset for metadata and
resource values.

Change-Id: Ief07fc5c480608bb900d55df935b89c503609c80
2015-06-03 12:03:17 -06:00
c02b816a74 Merge "Add volume functional tests" 2015-06-02 16:30:51 +00:00
746f6421d0 Add image functional tests
Change-Id: I30b219bc3393fcb197bda266125dcfb5c8780a3e
2015-06-02 05:26:25 -06:00
f9fa307809 Add volume functional tests
Change-Id: I8e12837fb22cabeabf1cde341324927cc6ee0252
2015-06-01 14:21:33 -06:00
9186885553 Remove checks for None dates in keypair functional tests
Steve made a comment about this and I agree, we should try and
keep these tests and simple as possible and this kind of thing
doesn't add much value.

Change-Id: I1eb73e5f38904ee6c74f6c7e27fc66cfe198619d
2015-05-22 13:01:40 -07:00
f8bbbdce24 Add support for keypair functional tests
Change-Id: I5d4730f8229b50d2b162864c74d8eabfef6c0991
2015-05-17 15:12:28 +00:00
29f29e44d3 Use format options for functional tests
Use the format options for functional tests so we can have more
assertEquals and less assertIn.

Change-Id: I34e6c76b42964f7b596ea35e6b0354a242611cb4
2015-05-17 12:33:39 +00:00
4451507cce Merge "Remove unique class names because they are scoped" 2015-04-29 06:07:34 +00:00
075987267b Merge "Functional tests run in many environments" 2015-04-29 05:53:09 +00: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
416d840dc4 Reduce parameters to base class execute
Simplify the parameters so we are just passing a command string
to the execute command in the base class.  The string is exactly
the command we are going to run.  This will make debugging
easier and make it clearer what we are actually running.

Change-Id: I0425007e1849f31d692420e38544c55b1acb86c4
2015-04-26 06:37:36 -06:00