cinder/cinder/tests
poojajadhav dd495b880d Extracted HTTP response codes to constants
There are several places in the source code where HTTP response
codes are used as numeric values.

Status codes 101, 200, 201, 202, 400, 401, 403, 404, 409, 413, 422, 424
and 500 under tests/unit/volume/drivers are replaced with symbolic
constants from six.moves.http_client thus improves code readability.
More patches will be submitted to address other status codes.

Partial-Bug: #1520159
Change-Id: I491bd9a6e09d39626e3f0c8fa9a151fe1927ee3b
2017-03-22 12:05:18 +05:30
..
compliance Use assertEqual/Less/Greater/In/IsNone 2016-07-04 17:58:16 +02:00
functional Fix cinder functional tests job 2017-03-21 11:45:26 +02:00
tempest Switch to use stable data_utils 2017-03-07 12:24:30 -08:00
unit Extracted HTTP response codes to constants 2017-03-22 12:05:18 +05:30
README.rst Add a README in tests dir linked to devref html 2017-03-11 10:47:49 -07:00
__init__.py
fake_driver.py Rename AddFCZone and RemoveFCZone according to PEP 8 2017-01-09 11:22:19 +02:00
fixtures.py Copy StandardLogging fixture from Nova 2016-02-29 17:46:31 -05:00

README.rst

IMPORTANT DEFINITION OF TESTS IN CINDER

Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.

Please check Cinder-Testing <https://docs.openstack.org/developer/cinder/devref/testing.html>