Ignore:
Timestamp:
23 Jun 2011, 06:25:59 (13 years ago)
Author:
Henrik Bettermann
Message:

Change structure of history messages (not sure if unicode strings are appropriate here).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscodes.py

    r6452 r6459  
    192192        history = IObjectHistory(self.ac1)
    193193        msgs = history.messages
    194         assert msgs[-1].endswith(' - Used (new state: used)')
     194        assert msgs[-1].endswith('Used by system')
    195195
    196196class AccessCodeTests(FunctionalTestCase):
     
    236236        # Access codes have a history.
    237237        match = re.match(
    238             '^../../.... ..:..:.. - Initialized \(new state: initialized\)',
     238            '^../../.... ..:..:.. - Initialized by system',
    239239            self.ac1.history)
    240240        assert match is not None
Note: See TracChangeset for help on using the changeset viewer.