summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ext/test_declarative.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ext/test_declarative.py b/test/ext/test_declarative.py
index 457936d78..d04ed3bfb 100644
--- a/test/ext/test_declarative.py
+++ b/test/ext/test_declarative.py
@@ -1804,7 +1804,7 @@ class DeclarativeMixinTest(DeclarativeTestBase):
class MyModel(Base,MyMixin):
__tablename__='test'
- name = Column(String(1000), nullable=False, index=True)
+ name = Column(String(100), nullable=False, index=True)
Base.metadata.create_all()
@@ -1827,16 +1827,16 @@ class DeclarativeMixinTest(DeclarativeTestBase):
return 'bar'+str(self.id)
class MyMixin(MyMixinParent):
- baz = Column(String(1000), nullable=False, index=True)
+ baz = Column(String(100), nullable=False, index=True)
class MyModel(Base,MyMixin):
__tablename__='test'
- name = Column(String(1000), nullable=False, index=True)
+ name = Column(String(100), nullable=False, index=True)
Base.metadata.create_all()
session = create_session()
- session.add(MyModel(name='testing',baz='fu'))
+ session.add(MyModel(name='testing', baz='fu'))
session.flush()
session.expunge_all()