]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- add length to varchars
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 31 Dec 2010 16:47:38 +0000 (11:47 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 31 Dec 2010 16:47:38 +0000 (11:47 -0500)
test/ext/test_mutable.py

index 3e7a23b8db053374d5d4ed0d7b40f7214bf7009b..1d8208743f16855ea0037c444db4359c52b3f8e3 100644 (file)
@@ -104,7 +104,7 @@ class MutableWithScalarJSONTest(_MutableDictTestBase, _base.MappedTest):
         import json
 
         class JSONEncodedDict(TypeDecorator):
-            impl = VARCHAR
+            impl = VARCHAR(50)
 
             def process_bind_param(self, value, dialect):
                 if value is not None:
@@ -148,7 +148,7 @@ class MutableAssociationScalarJSONTest(_MutableDictTestBase, _base.MappedTest):
         import json
 
         class JSONEncodedDict(TypeDecorator):
-            impl = VARCHAR
+            impl = VARCHAR(50)
 
             def process_bind_param(self, value, dialect):
                 if value is not None: