summaryrefslogtreecommitdiff
path: root/test/dialect/test_sqlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/test_sqlite.py')
-rw-r--r--test/dialect/test_sqlite.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py
index 34f5927ed..e3618f841 100644
--- a/test/dialect/test_sqlite.py
+++ b/test/dialect/test_sqlite.py
@@ -16,7 +16,7 @@ class TestTypes(TestBase, AssertsExecutionResults):
def test_boolean(self):
"""Test that the boolean only treats 1 as True
-
+
"""
meta = MetaData(testing.db)
@@ -214,7 +214,7 @@ class DialectTest(TestBase, AssertsExecutionResults):
def test_extra_reserved_words(self):
"""Tests reserved words in identifiers.
-
+
'true', 'false', and 'column' are undocumented reserved words
when used as column identifiers (as of 3.5.1). Covering them
here to ensure they remain in place if the dialect's
@@ -318,18 +318,18 @@ class DialectTest(TestBase, AssertsExecutionResults):
except exc.DBAPIError:
pass
raise
-
+
def test_pool_class(self):
e = create_engine('sqlite+pysqlite://')
assert e.pool.__class__ is pool.SingletonThreadPool
e = create_engine('sqlite+pysqlite:///:memory:')
assert e.pool.__class__ is pool.SingletonThreadPool
-
+
e = create_engine('sqlite+pysqlite:///foo.db')
assert e.pool.__class__ is pool.NullPool
-
-
+
+
def test_dont_reflect_autoindex(self):
meta = MetaData(testing.db)
t = Table('foo', meta, Column('bar', String, primary_key=True))
@@ -414,7 +414,7 @@ class SQLTest(TestBase, AssertsCompiledSQL):
Column('id', Integer, primary_key=True),
Column('t1_id', Integer, ForeignKey('master.t1.id')),
)
-
+
# schema->schema, generate REFERENCES with no schema name
self.assert_compile(
schema.CreateTable(t2),
@@ -423,7 +423,7 @@ class SQLTest(TestBase, AssertsCompiledSQL):
"t1_id INTEGER, "
"PRIMARY KEY (id), "
"FOREIGN KEY(t1_id) REFERENCES t1 (id)"
- ")"
+ ")"
)
# schema->different schema, don't generate REFERENCES
@@ -433,7 +433,7 @@ class SQLTest(TestBase, AssertsCompiledSQL):
"id INTEGER NOT NULL, "
"t1_id INTEGER, "
"PRIMARY KEY (id)"
- ")"
+ ")"
)
# same for local schema
@@ -443,7 +443,7 @@ class SQLTest(TestBase, AssertsCompiledSQL):
"id INTEGER NOT NULL, "
"t1_id INTEGER, "
"PRIMARY KEY (id)"
- ")"
+ ")"
)