diff options
author | Tetyana Lashchova <tlashchova@mirantis.com> | 2014-10-27 15:32:01 +0200 |
---|---|---|
committer | Tetyana Lashchova <tlashchova@mirantis.com> | 2014-10-28 17:26:25 +0200 |
commit | 0cdb56139f983121771f8a6510cf34593aeb9a7e (patch) | |
tree | d93cb8c2c2cd7f663478f7428489c8ae8a1350c0 /test-requirements.txt | |
parent | 49d000c2958bcd6887bdaad643d6913a02462091 (diff) | |
download | python-heatclient-0cdb56139f983121771f8a6510cf34593aeb9a7e.tar.gz |
Allow mock-based patching in shell tests
Added `patch` method that uses mock.patch (similar to `patchobject`)
- NOTE: this shadows `testtools.TestCase.patch` method that uses
simple monkey-patching in favor of mock-based patching,
relevant comment added in the code.
Also oslotest dependency is added.
Change-Id: Ie4d25bc53decb308398eded350c81a90a257b254
Related-Bug: #1384511
Diffstat (limited to 'test-requirements.txt')
-rw-r--r-- | test-requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 5d5c655..31120b7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,6 +11,7 @@ httpretty>=0.8.0,!=0.8.1,!=0.8.2,!=0.8.3 mock>=1.0 mox3>=0.7.0 oslosphinx>=2.2.0 # Apache-2.0 +oslotest>=1.2.0 # Apache-2.0 sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 testrepository>=0.0.18 testscenarios>=0.4 |