Ignore:
Timestamp:
5 Aug 2016, 12:31:15 (8 years ago)
Author:
Henrik Bettermann
Message:

Insert the right mandate id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r14040 r14052  
    16641664        mandate_id_0 = self.app['mandates'].keys()[0]
    16651665        mandate_id_1 = self.app['mandates'].keys()[1]
     1666        if self.app['mandates'].values()[0].params['name'] == 'Linda Tree':
     1667            mandate_id_0 = self.app['mandates'].keys()[0]
     1668            mandate_id_1 = self.app['mandates'].keys()[1]
     1669        else:
     1670            mandate_id_0 = self.app['mandates'].keys()[1]
     1671            mandate_id_1 = self.app['mandates'].keys()[0]
    16661672        self.assertMatches(
    16671673            'Sending email from no-reply@waeup.org to linda@forest.de:'
Note: See TracChangeset for help on using the changeset viewer.