Ignore:
Timestamp:
2 Aug 2014, 05:09:09 (10 years ago)
Author:
Henrik Bettermann
Message:

Fix tests. All amounts in form are now integers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

    r11635 r11775  
    9494                           self.browser.contents)
    9595        self.assertTrue(
    96             '<input type="hidden" name="amount" value="1324500.0" />'
     96            '<input type="hidden" name="amount" value="1324500" />'
    9797            in self.browser.contents)
    9898        self.assertTrue(
     
    162162                           self.browser.contents)
    163163        self.assertTrue(
    164             '<input type="hidden" name="amount" value="415000.0" />'
     164            '<input type="hidden" name="amount" value="415000" />'
    165165            in self.browser.contents)
    166166        self.assertTrue(
     
    213213                           self.browser.contents)
    214214        self.assertTrue(
    215             '<input type="hidden" name="amount" value="360600.0" />' in
     215            '<input type="hidden" name="amount" value="360600" />' in
    216216            self.browser.contents)
    217217        self.assertTrue(
     
    346346                           self.browser.contents)
    347347        self.assertTrue(
    348             '<input type="hidden" name="amount" value="100000.0" />'
     348            '<input type="hidden" name="amount" value="100000" />'
    349349            in self.browser.contents)
    350350        self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.