Adds boundary tests for image metadata in Compute API
Changed the indentation to 4 space width.
Added nonexistant tests for image metadata operations
Change-Id: Ife6324f7eb55ef71315a9775993c431849ad2d45
* Add base exception class similar to other OS projects
* Catch certain HTTP errors and raise exceptions in base
client classes
* Fixes LP Bug#899701 by adding tearDownClass() method
to the test_list_images.ListImagesTest class to destroy
images and instances the test case creates
Change-Id: I0f616813539b31da27e5106a59c2ca3765b1919f
Thanks to bcwaldon for making me look silly :)
Now checks the location header returned from createImage
call in the case when the image is erroneously created
and should then be deleted...
Change-Id: Iec303355ccb7d19fd4667462b82fc8e95bdafde7
Patch3 removed wait time
Patch 2. Incorporated Jay's review comments
fix for bug903970 create image from deleted server. Verified Pep8 formats. Verified that the test run fine . No image created
Change-Id: I48ef0f66cf7c10817326c60993690e9aa968bbbe
* Adds skippers to tempest to enable skipping tests
that don't meet certain conditions
* Adds a check in test_list_servers.ServerDetailsTest.setUpClass
that checks if the image with ID image_ref_alt actually exists
and if it does not, marks a specific test as skipped.
This is what the resulting test run looks like after adding
the skip:
jpipes@librebox:~/repos/tempest$ nosetests -sv tempest.tests.test_list_servers
Return the full details of a single server ... ok
Filter the detailed list of servers by flavor ... ok
Filter the detailed list of servers by image ... SKIP: Only one image found
Filter the detailed list of servers by server name ... ok
Filter the detailed list of servers by server status ... ok
Return a detailed list of all servers ... ok
----------------------------------------------------------------------
Ran 6 tests in 108.909s
OK (SKIP=1)
Change-Id: Ia6178ca8201acc03566b785ec096eda51d0425c9
Adds a new script in tempest/tools/conf_from_devstack
that constructs a Tempest configuration file based on
the values in a devstack directory and its localrc
file.
Change-Id: I44626b0e5a10aaae22f03176cf21b6835e9f2500
Previously, the rest client had no notion of specific services
other than nova, since that is all the current tests cover. It
also assumed the first row in the keystone.services was the service
that provides the nova endpoint. This change allows the RestClient
to target specific services in the keystone catalog by name. Current
nova services are updated to find the nova endpoint. Future services
that hit glance or swift directly can make use of this as well.
Cleanup pep8 in exceptions.py
Fixes bug 911528
Change-Id: I4d885d96a1d360021b4c8f6aa562f863c6df3608
* Added tests for all filters except by id and changes-since
* Also improved exception handling to include server uuid for troubleshooting
Change-Id: I9a69390e178bb6bb9244f7000a7e01dd3e530e73
-Cleaned up unused imports
-The rest of the errors are taken care of in bcwaldon's
https://review.openstack.org/2277
Change-Id: I42125798b026180f5186fd22cd669a1ebe3b47dd
- Modified create_server() client method to include optional kwargs.
- This dict can be used to pass any number of optional args including
those supported by create server extension and avoids the need of having a
separate create_server() method
Change-Id: I742ae411330b9e006130d3a4b59c7201f59243cd
* Changed namespace from storm to tempest
* Added absolute limits service and server personality file tests
* Optimized run time for image metadata tests
* Added additional assertions for create server and rebuild server tests
* Removed any SSH verification until further decisions are made
Change-Id: I5bebd29be382c9404914c7314302670ae09627fc
Cleans up a bunch of configuration-related errors
when trying to run tempest out of the box with a
simple call to:
$> nosetests storm
* Raises a sensible error if the config file cannot be found
* Makes it possible to set the config file directory and
config file name via environment variables
* Removes unnecessary calls to create storm.config.StormConfig()
and share a configuration object by passing the openstack.Manager's
config object with the various rest client objects
* Updates the README to show how to make a config file and run
the tests in tempest
Change-Id: I60e33595b88df596cc9585bcaf18d37ae77d6f2b
* Updated storm.conf
* Added more properties to Nova config object
* Fixed pep8 and the 'set' typo that came from a vi editor 'set list' fumble
Change-Id: I67a9b7a8708cd64eb26eb9ec15c40b18eb8895de