diff options
Diffstat (limited to 'test/engine/test_parseconnect.py')
-rw-r--r-- | test/engine/test_parseconnect.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/engine/test_parseconnect.py b/test/engine/test_parseconnect.py index 894fff280..07fedbe31 100644 --- a/test/engine/test_parseconnect.py +++ b/test/engine/test_parseconnect.py @@ -94,8 +94,8 @@ class DialectImportTest(fixtures.TestBase): 'sqlite', 'oracle', 'mssql'): - exec ('from sqlalchemy.dialects import %s\ndialect = ' - '%s.dialect()' % (name, name), globals()) + exec('from sqlalchemy.dialects import %s\ndialect = ' + '%s.dialect()' % (name, name), globals()) eq_(dialect.name, name) @@ -440,5 +440,6 @@ def MockDBAPI(**assert_kwargs): connect=Mock(side_effect=connect) ) + mock_dbapi = MockDBAPI() mock_sqlite_dbapi = msd = MockDBAPI() |