Fix test to use newer django database dictionary instead of the old single database...
[htsworkflow.git] / htsworkflow / frontend / experiments / test_experiments.py
index 5878d726d7ee1d268382230a56a235aef7ca29e6..8907192cf46376b1b8a28639f9a8c44207a5ef72 100644 (file)
@@ -29,7 +29,8 @@ LANE_SET = range(1,9)
 NSMAP = {'libns':'http://jumpgate.caltech.edu/wiki/LibraryOntology#'}
 
 from django.db import connection
-OLD_DB_NAME = settings.DATABASE_NAME
+
+OLD_DB_NAME = settings.DATABASES['default']['NAME']
 VERBOSITY = 0
 def setUpModule():
     setup_test_environment()