From 04c7bae3080801482caabfb0c4e4525759a388eb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 12 Feb 2012 20:00:44 -0500 Subject: - test failures. one in particular seems to be a weird oursql bug, oh well --- test/sql/test_labels.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/sql') 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 -- cgit v1.2.1