X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Fexperiments%2Ftest_experiments.py;h=11214b1163ad4fb2a4b6a7de1879cc8095847a97;hp=8907192cf46376b1b8a28639f9a8c44207a5ef72;hb=6b0392dd1788ee645fe4a467fce28d8640d2c8f2;hpb=66ff05735858fcabb789638f15b9b4f29285da87 diff --git a/htsworkflow/frontend/experiments/test_experiments.py b/htsworkflow/frontend/experiments/test_experiments.py index 8907192..11214b1 100644 --- a/htsworkflow/frontend/experiments/test_experiments.py +++ b/htsworkflow/frontend/experiments/test_experiments.py @@ -30,17 +30,6 @@ NSMAP = {'libns':'http://jumpgate.caltech.edu/wiki/LibraryOntology#'} from django.db import connection -OLD_DB_NAME = settings.DATABASES['default']['NAME'] -VERBOSITY = 0 -def setUpModule(): - setup_test_environment() - settings.DEBUG = False - connection.creation.create_test_db(VERBOSITY) - -def tearDownModule(): - connection.creation.destroy_test_db(OLD_DB_NAME, VERBOSITY) - teardown_test_environment() - class ClusterStationTestCases(TestCase): fixtures = ['test_flowcells.json'] @@ -688,16 +677,6 @@ class TestSequencer(TestCase): errmsgs = list(inference.run_validation()) self.assertEqual(len(errmsgs), 0) - -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()