allow running mock_s3 and mock_s3bucket_path one after the other
This commit is contained in:
parent
86cba4e82c
commit
f46c2508c0
2 changed files with 26 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ class MockAWS(object):
|
|||
|
||||
if self.__class__.nested_count == 0:
|
||||
HTTPretty.disable()
|
||||
HTTPretty.reset()
|
||||
|
||||
def decorate_callable(self, func):
|
||||
def wrapper(*args, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue