summaryrefslogtreecommitdiff
path: root/test/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tables.py')
-rw-r--r--test/tables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tables.py b/test/tables.py
index 595195780..b1a241fa4 100644
--- a/test/tables.py
+++ b/test/tables.py
@@ -15,10 +15,10 @@ DBTYPE = 'sqlite_memory'
#DBTYPE = 'sqlite_file'
if DBTYPE == 'sqlite_memory':
- db = sqlalchemy.engine.create_engine('sqlite', ':memory:', {}, echo = testbase.echo)
+ db = sqlalchemy.engine.create_engine('sqlite', {'filename':':memory:'}, echo = testbase.echo)
elif DBTYPE == 'sqlite_file':
import sqlalchemy.databases.sqlite as sqllite
- db = sqlalchemy.engine.create_engine('sqlite', 'querytest.db', {}, echo = testbase.echo)
+ db = sqlalchemy.engine.create_engine('sqlite', {'filename':'querytest.db'}, echo = testbase.echo)
elif DBTYPE == 'postgres':
db = sqlalchemy.engine.create_engine('postgres', {'database':'test', 'host':'127.0.0.1', 'user':'scott', 'password':'tiger'}, echo=testbase.echo)