Remove django test environment setup code.
[htsworkflow.git] / htsworkflow / frontend / inventory / test_inventory.py
index 86d37b7cbe7e740468f04df9380ae8fa82c98b35..d7c2336b0866848ea49bc090e1cfbafbdbbc1fd4 100644 (file)
@@ -113,15 +113,6 @@ class InventoryTestCase(TestCase):
         flowcells = [ str(x.uri) for x in targets]
         return flowcells
 
-OLD_DB = settings.DATABASES['default']['NAME']
-def setUpModule():
-    setup_test_environment()
-    connection.creation.create_test_db()
-
-def tearDownModule():
-    connection.creation.destroy_test_db(OLD_DB)
-    teardown_test_environment()
-
 def suite():
     from unittest2 import TestSuite, defaultTestLoader
     suite = TestSuite()