From: Mike Bayer Date: Thu, 16 Aug 2007 14:50:24 +0000 (+0000) Subject: add length to str for pk usage X-Git-Tag: rel_0_4beta3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4c3f99db19cba6c19cd02c818feabf20a75b58;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add length to str for pk usage --- diff --git a/test/orm/inheritance/selects.py b/test/orm/inheritance/selects.py index 1e307ffe5c..f5c2bb0542 100644 --- a/test/orm/inheritance/selects.py +++ b/test/orm/inheritance/selects.py @@ -55,8 +55,8 @@ class InheritingSelectablesTest(ORMTest): def define_tables(self, metadata): global foo, bar, baz foo = Table('foo', metadata, - Column('a', String, primary_key=1), - Column('b', String, nullable=0)) + Column('a', String(30), primary_key=1), + Column('b', String(30), nullable=0)) bar = foo.select(foo.c.b == 'bar').alias('bar') baz = foo.select(foo.c.b == 'baz').alias('baz')