7 Commits

Author SHA1 Message Date
Jamie Lennox
8f23885ca3 Convert snapshot tests to requests-mock
Blueprint: http-mock-testing
Change-Id: I06eae25cda6de9c266d34947471675fd95359739
2014-08-25 16:15:26 +10:00
Russell Sim
52ce0b205e When there is no error body return the HTTP reason
Return the response reason when there is no message body to return.

DocImpact
Change-Id: Ia60da4f04b059a13fcbe0059bb42fd77f272d8aa
Closes-Bug: 1248773
2014-03-04 10:00:44 +11:00
Monty Taylor
6100651000 Sync with global requirements
Change-Id: Iccc824fef7dc7ae5675d6528a1ea33566e5f7eef
2013-08-06 14:45:24 -03:00
John Griffith
3d30126e93 Revert "Use exceptions from oslo"
This reverts commit a7cce08eab5e2e42275b84bd56127bd09b00f5bf

Change-Id: I6c0047adbc33d0d6b5890f11853974578c36c78c
2013-07-15 10:30:05 -06:00
Alessio Ababilov
a7cce08eab Use exceptions from oslo
These exceptions can be used in novaclient, keystoneclient,
glanceclient, and other client projects.

Partially implements: blueprint common-client-library

Change-Id: I43918316622b1c1d722872fe30199db6a3a7bb76
2013-07-01 11:55:31 +03:00
Dirk Mueller
7359c976d1 Start Gating on Pyflakes and Hacking
Instead of globally ignoring Pyflakes and Hacking
warnings, only blacklist those that occur frequently
and fix the others. Start gating on those checks.

Change-Id: Ice032c16d445ef08ef018bcdc5c221ab3c323755
2013-06-09 13:29:23 +02:00
Monty Taylor
bf1ce848e6 Move tests into cinderclient package.
tests/__init__.py implies a package in the global namespace called
tests. That's not what these are - they're tests in the cinderclient
namespace.

Change-Id: I29c95bcd8747c3f5f21d5d900879c9b6b1c9a963
2013-05-20 14:32:32 -04:00