Changeset 12630


Ignore:
Timestamp:
24 Feb 2015, 06:01:08 (10 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

Email addresses are now TextLines?.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/interfaces.py

    r12540 r12630  
    170170
    171171    """
    172     email = schema.ASCIILine(
     172    email = schema.TextLine(
    173173        title = _(u'Email Address'),
    174174        required = True,
  • main/waeup.ikoba/trunk/src/waeup/ikoba/tests/test_interfaces.py

    r12443 r12630  
    6767        # No spaces
    6868        self.assertTrue(check_id('abc ABC') is None)
    69         # More than 9 characters are not allowed
    70         self.assertTrue(check_id('abcdefghij') is None)
     69        # More than 10 characters are not allowed
     70        self.assertTrue(check_id('abcdefghijk') is None)
    7171        # Only underscores and hyphens are allowed
    7272        self.assertTrue(check_id('a+b') is None)
Note: See TracChangeset for help on using the changeset viewer.