do not run tests if mongodb connect fails

This commit is contained in:
Chris Meyers
2015-04-03 12:00:56 -04:00
parent c03cef022d
commit 35e1c19fc2
6 changed files with 30 additions and 16 deletions

View File

@@ -42,6 +42,8 @@ if len(sys.argv) >= 2 and sys.argv[1] == 'test':
'TEST_NAME': os.path.join(BASE_DIR, 'awx_test.sqlite3'),
}
}
MONGO_DB = 'system_tracking_test'
# Celery AMQP configuration.
BROKER_URL = 'redis://localhost/'