Merge "don't clear the database dicts in the tearDown method"
This commit is contained in:
@@ -136,12 +136,6 @@ class TestMigrations(test.TestCase):
|
|||||||
# and recreate it, which ensures that we have no side-effects
|
# and recreate it, which ensures that we have no side-effects
|
||||||
# from the tests
|
# from the tests
|
||||||
self._reset_databases()
|
self._reset_databases()
|
||||||
|
|
||||||
# remove these from the list so they aren't used in the migration tests
|
|
||||||
if "mysqlcitest" in self.engines:
|
|
||||||
del self.engines["mysqlcitest"]
|
|
||||||
if "mysqlcitest" in self.test_databases:
|
|
||||||
del self.test_databases["mysqlcitest"]
|
|
||||||
super(TestMigrations, self).tearDown()
|
super(TestMigrations, self).tearDown()
|
||||||
|
|
||||||
def _reset_databases(self):
|
def _reset_databases(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user