Exemplo n.º 1
0
 def __exit__(self, exc_type, exc_value, traceback):
     """
     Cleans mongo afer the tests run.
     """
     super(NoseTestSuite, self).__exit__(exc_type, exc_value, traceback)
     test_utils.clean_mongo()
Exemplo n.º 2
0
 def __exit__(self, exc_type, exc_value, traceback):
     super(AcceptanceTest, self).__exit__(exc_type, exc_value, traceback)
     test_utils.clean_mongo()
Exemplo n.º 3
0
 def __exit__(self, exc_type, exc_value, traceback):
     super(AcceptanceTest, self).__exit__(exc_type, exc_value, traceback)
     test_utils.clean_mongo()