projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove django test environment setup code.
[htsworkflow.git]
/
htsworkflow
/
frontend
/
inventory
/
test_inventory.py
diff --git
a/htsworkflow/frontend/inventory/test_inventory.py
b/htsworkflow/frontend/inventory/test_inventory.py
index 86d37b7cbe7e740468f04df9380ae8fa82c98b35..d7c2336b0866848ea49bc090e1cfbafbdbbc1fd4 100644
(file)
--- a/
htsworkflow/frontend/inventory/test_inventory.py
+++ b/
htsworkflow/frontend/inventory/test_inventory.py
@@
-113,15
+113,6
@@
class InventoryTestCase(TestCase):
flowcells = [ str(x.uri) for x in targets]
return flowcells
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()
def suite():
from unittest2 import TestSuite, defaultTestLoader
suite = TestSuite()