예제 #1
0
파일: __init__.py 프로젝트: hs634/digestive
 def setUp(self):
     MockTransaction.__enter__()
     super(MockMixin, self).setUp()
예제 #2
0
파일: __init__.py 프로젝트: hs634/digestive
 def validate_mocks(self):
     """
     Forces a validation of mocks immediately instead of at the end of the test
     """
     MockTransaction.__exit__()
     MockTransaction.__enter__()