Specify Django Test Database names in settings.py
In Django 1.6 and below, TEST_NAME should be a key of one of your database dictionaries. But in Django 1.7 and above, you use a TEST key which is a dictionary of settings for test databases. You probably want: DATABASES = { ‘default’:{ ‘ENGINE’:’mysql’, ‘NAME’:’testsqldb’, ‘USER’:'<username>’, ‘PASSWORD’:'<password>’, ‘TEST’: { ‘NAME’: ‘auto_tests’, } }, ‘dynamic_data’:{ ‘ENGINE’: … Read more