Changeset 7435 for main/waeup.sirp/trunk


Ignore:
Timestamp:
22 Dec 2011, 07:48:28 (13 years ago)
Author:
Henrik Bettermann
Message:

Adapt tests to changes made in phonewidget.pt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/widgets/tests/test_phonewidget.py

    r7427 r7435  
    118118        self.assertEqual(
    119119            self.widget(),
    120             (u'+<input class="textType" id="field.foo.country"'
     120            (u'+&nbsp;<input class="textType" id="field.foo.country"'
    121121             u' name="field.foo.country" size="3" type="text" value="123" '
    122122             u' />'
    123              u'&nbsp;&mdash;&nbsp;\n'
     123             u'&nbsp;-\n'
    124124             u'<input class="textType" id="field.foo.area"'
    125125             u' name="field.foo.area" size="5" type="text" value="456" '
    126126             u' />'
    127              u'&nbsp;&mdash;&nbsp;\n'
     127             u'&nbsp;-\n'
    128128             u'<input class="textType" id="field.foo.extension"'
    129129             u' name="field.foo.extension" size="10" type="text"'
     
    370370        self.assertEqual(
    371371            widget(),
    372             (u'+<input class="textType" id="field.foo.country"'
     372            (u'+&nbsp;<input class="textType" id="field.foo.country"'
    373373             u' name="field.foo.country" size="3" type="text" value="11" '
    374374             u' />'
    375              u'&nbsp;&mdash;&nbsp;\n'
     375             u'&nbsp;-\n'
    376376             u'<input class="textType" id="field.foo.area"'
    377377             u' name="field.foo.area" size="5" type="text" value="222" '
    378378             u' />'
    379              u'&nbsp;&mdash;&nbsp;\n'
     379             u'&nbsp;-\n'
    380380             u'<input class="textType" id="field.foo.extension"'
    381381             u' name="field.foo.extension" size="10" type="text"'
     
    393393        self.assertEqual(
    394394            widget(),
    395             (u'+<input class="textType" id="field.foo.country"'
     395            (u'+&nbsp;<input class="textType" id="field.foo.country"'
    396396             u' name="field.foo.country" size="3" type="text" value="11" '
    397397             u' />'
    398              u'&nbsp;&mdash;&nbsp;\n'
     398             u'&nbsp;-\n'
    399399             u'<input class="textType" id="field.foo.area"'
    400400             u' name="field.foo.area" size="5" type="text" value="222" '
    401401             u' />'
    402              u'&nbsp;&mdash;&nbsp;\n'
     402             u'&nbsp;-\n'
    403403             u'<input class="textType" id="field.foo.extension"'
    404404             u' name="field.foo.extension" size="10" type="text"'
     
    476476        self.assertEqual(
    477477            self.widget(),
    478             (u'+<input class="textType" id="field.foo.country"'
     478            (u'+&nbsp;<input class="textType" id="field.foo.country"'
    479479             u' name="field.foo.country" size="3" type="text" value="" '
    480480             u' />'
    481              u'&nbsp;&mdash;&nbsp;\n'
     481             u'&nbsp;-\n'
    482482             u'<input class="textType" id="field.foo.area"'
    483483             u' name="field.foo.area" size="5" type="text" value="" '
    484484             u' />'
    485              u'&nbsp;&mdash;&nbsp;\n'
     485             u'&nbsp;-\n'
    486486             u'<input class="textType" id="field.foo.extension"'
    487487             u' name="field.foo.extension" size="10" type="text"'
Note: See TracChangeset for help on using the changeset viewer.