summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-02-04 21:47:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-02-04 21:47:42 +0000
commitbb1dd85dcc123a60ab5fdc0d3a61641703d91948 (patch)
tree55c7eeae006a127a79fd7af8088c7934bb653019 /test
parent0de289921c4d52798248cfacbacc04ccad12cec9 (diff)
downloadsqlalchemy-bb1dd85dcc123a60ab5fdc0d3a61641703d91948.tar.gz
- add dummy column to appease older SQLite verisons in unicode.py
- add test "escape_literal_column" comiler method to start addressing literal '%' character
Diffstat (limited to 'test')
-rw-r--r--test/sql/unicode.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sql/unicode.py b/test/sql/unicode.py
index 98a2b6aa2..6f035f2bf 100644
--- a/test/sql/unicode.py
+++ b/test/sql/unicode.py
@@ -116,7 +116,9 @@ class EscapesDefaultsTest(testing.PersistTest):
def test_default_exec(self):
metadata = MetaData(testing.db)
t1 = Table('t1', metadata,
- Column(u'special_col', Integer, Sequence('special_col'), primary_key=True))
+ Column(u'special_col', Integer, Sequence('special_col'), primary_key=True),
+ Column('data', String(50)) # to appease SQLite without DEFAULT VALUES
+ )
t1.create()
try: