Merge pull request #339 from porterjamesj/allow-start-without-reset
allow starting without reseting
This commit is contained in:
commit
7382201dd7
@ -29,8 +29,9 @@ class MockAWS(object):
|
|||||||
def __exit__(self, *args):
|
def __exit__(self, *args):
|
||||||
self.stop()
|
self.stop()
|
||||||
|
|
||||||
def start(self):
|
def start(self, reset=True):
|
||||||
self.__class__.nested_count += 1
|
self.__class__.nested_count += 1
|
||||||
|
if reset:
|
||||||
for backend in self.backends.values():
|
for backend in self.backends.values():
|
||||||
backend.reset()
|
backend.reset()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user