Use requests-mock for mocking

Use the requests-mock library for stubbing out our requests rather than
matching via mock directly.

Change-Id: Ifed4457619448c330044492b513c116c3f7e266a
This commit is contained in:
Jamie Lennox
2015-01-16 17:38:59 +10:00
parent 1e99c7ed93
commit 0669639b51
13 changed files with 267 additions and 325 deletions

View File

@@ -13,3 +13,4 @@ python-swiftclient>=2.2.0
python-novaclient>=2.18.0
python-neutronclient>=2.3.6,<3
oslo.config>=1.6.0 # Apache-2.0
requests-mock>=0.5.1 # Apache-2.0