cinder/cinder/tests/unit/volume/drivers/nexenta
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
..
__init__.py Move drivers unit tests to unit.volume.drivers directory 2016-07-25 17:39:50 -04:00
test_nexenta.py Nexenta: Added ZFS cleanup in NexentaStor4 iSCSI driver 2016-12-13 08:50:12 -07:00
test_nexenta5_iscsi.py NexentaStor5: sessions and HTTPS support 2016-12-20 16:09:01 -07:00
test_nexenta5_jsonrpc.py Extracted HTTP response codes to constants 2017-03-22 12:05:18 +05:30
test_nexenta5_nfs.py Merge "NexentaStor5: Added extend method to NFS driver" 2017-01-23 13:22:16 +00:00