[Checkins] SVN: Products.PluggableAuthService/trunk/Products/PluggableAuthService/tests/test_UserPropertySheet.py FIX long property test to work on any platform.
Paul Winkler
slinkp at gmail.com
Tue Sep 23 13:10:15 EDT 2008
Log message for revision 91400:
FIX long property test to work on any platform.
Changed:
U Products.PluggableAuthService/trunk/Products/PluggableAuthService/tests/test_UserPropertySheet.py
-=-
Modified: Products.PluggableAuthService/trunk/Products/PluggableAuthService/tests/test_UserPropertySheet.py
===================================================================
--- Products.PluggableAuthService/trunk/Products/PluggableAuthService/tests/test_UserPropertySheet.py 2008-09-23 15:17:11 UTC (rev 91399)
+++ Products.PluggableAuthService/trunk/Products/PluggableAuthService/tests/test_UserPropertySheet.py 2008-09-23 17:10:14 UTC (rev 91400)
@@ -14,6 +14,8 @@
##############################################################################
import unittest
import os.path
+import sys
+
from DateTime.DateTime import DateTime
from OFS.Image import Image
@@ -42,7 +44,7 @@
_STRING_VALUE = 'string'
_INT_VALUE = 42
_FLOAT_VALUE = 9.8
- _LONG_VALUE = 1000000000000
+ _LONG_VALUE = sys.maxint + 1
_DATE_VALUE = DateTime()
_LIST_VALUE = [ 'a', 'b', 'c' ]
_TUPLE_VALUE = ( 'd', 'e', 'f' )
More information about the Checkins
mailing list