We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a337f59 commit dab68d8Copy full SHA for dab68d8
1 file changed
ietf/tests.py
@@ -10,6 +10,7 @@
10
from django.test import TestCase
11
from django.conf import settings
12
from django.db import connection
13
+from django.core import management
14
import ietf.urls
15
16
@@ -123,7 +124,9 @@ def setUp(self):
123
124
self.testdb = settings.DATABASE_NAME
125
connection.close()
126
settings.DATABASE_NAME = startup_database
- connection.cursor()
127
+ # Install updated fixtures:
128
+ # Also has the side effect of creating the database connection.
129
+ management.syncdb(verbosity=1, interactive=False)
130
131
def tearDown(self):
132
# Revert to using the test database
0 commit comments