[testing] add missing generate_bigint method to ValueGenerator. Closes #3059327 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 31 Jul 2013 16:04:10 +0200
branchstable
changeset 9207 c99e97e9f566
parent 9206 bf642b50135b
child 9208 7ae95f48e2f0
[testing] add missing generate_bigint method to ValueGenerator. Closes #3059327
devtools/fill.py
--- a/devtools/fill.py	Wed Jul 31 13:56:00 2013 +0200
+++ b/devtools/fill.py	Wed Jul 31 16:04:10 2013 +0200
@@ -139,7 +139,7 @@
     def generate_integer(self, entity, attrname, index):
         """generates a consistent value for 'attrname' if it's an integer"""
         return self._constrained_generate(entity, attrname, 0, 1, index)
-    generate_int = generate_integer
+    generate_int = generate_bigint = generate_integer
 
     def generate_float(self, entity, attrname, index):
         """generates a consistent value for 'attrname' if it's a float"""