summaryrefslogtreecommitdiff
path: root/test/sql/test_labels.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-02-12 20:00:44 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-02-12 20:00:44 -0500
commit04c7bae3080801482caabfb0c4e4525759a388eb (patch)
tree5c3504bc56209c1859f6990d4a74e49cb2224bba /test/sql/test_labels.py
parentc6278444aa58f74c9373823b8dc4eebc6a21b2f1 (diff)
downloadsqlalchemy-04c7bae3080801482caabfb0c4e4525759a388eb.tar.gz
- test failures. one in particular seems to be a weird oursql bug, oh well
Diffstat (limited to 'test/sql/test_labels.py')
-rw-r--r--test/sql/test_labels.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/sql/test_labels.py b/test/sql/test_labels.py
index ad4727b9b..7c65a1d01 100644
--- a/test/sql/test_labels.py
+++ b/test/sql/test_labels.py
@@ -5,6 +5,7 @@ from sqlalchemy import *
from sqlalchemy import exc as exceptions
from sqlalchemy.engine import default
from sqlalchemy.sql import table, column
+from test.lib.schema import Table, Column
IDENT_LENGTH = 29
@@ -26,13 +27,15 @@ class LongLabelsTest(fixtures.TablesTest, AssertsCompiledSQL):
def define_tables(cls, metadata):
table1 = Table("some_large_named_table", metadata,
Column("this_is_the_primarykey_column", Integer,
- primary_key=True),
+ primary_key=True,
+ test_needs_autoincrement=True),
Column("this_is_the_data_column", String(30))
)
table2 = Table("table_with_exactly_29_characs", metadata,
Column("this_is_the_primarykey_column", Integer,
- primary_key=True),
+ primary_key=True,
+ test_needs_autoincrement=True),
Column("this_is_the_data_column", String(30))
)
cls.tables.table1 = table1