Ignore:
Timestamp:
23 Jun 2011, 15:29:31 (13 years ago)
Author:
Henrik Bettermann
Message:

Produce more user friendly and shorter object history messages.

File:
1 edited

Legend:

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

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