From: Diane Trout Date: Fri, 17 Jan 2014 22:24:38 +0000 (-0800) Subject: Fix test to use newer django database dictionary instead of the old single database... X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=4ea9d409a73371eaf9d2e50c573a90316a5f9ac8 Fix test to use newer django database dictionary instead of the old single database settings --- diff --git a/htsworkflow/frontend/experiments/test_experiments.py b/htsworkflow/frontend/experiments/test_experiments.py index 5878d72..8907192 100644 --- a/htsworkflow/frontend/experiments/test_experiments.py +++ b/htsworkflow/frontend/experiments/test_experiments.py @@ -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()