Exemplo n.º 1
0
 def tearDownClass(cls):
     """
     Clean up the test
     """
     test_utils.clean_db()
     test_utils.clean_storage()
     User.objects.all().delete()
Exemplo n.º 2
0
 def tearDown(self):
     """
     Cleans up the test environment.
     """
     test_utils.clean_db()
     test_utils.clean_storage()
     User.objects.all().delete()
Exemplo n.º 3
0
 def tearDown(self):
     """
     Clean up the test
     """
     test_utils.clean_db()
     test_utils.clean_storage()
Exemplo n.º 4
0
 def tearDown(self):
     """
     Cleans the database after a test.
     """
     test_utils.clean_db()
     test_utils.clean_storage()
Exemplo n.º 5
0
 def tearDownClass(cls):
     User.objects.all().delete()
     test_utils.clean_db()
     test_utils.clean_storage()
     set_index_active(True)
Exemplo n.º 6
0
 def tearDown(self):
     test_utils.clean_db()
Exemplo n.º 7
0
 def tearDown(self):
     """
     Clean DB and storage folder after testing.
     """
     test_utils.clean_db()
     test_utils.clean_storage()