Changeset 6459 for main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests
- Timestamp:
- 23 Jun 2011, 06:25:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscodes.py
r6452 r6459 192 192 history = IObjectHistory(self.ac1) 193 193 msgs = history.messages 194 assert msgs[-1].endswith(' - Used (new state: used)')194 assert msgs[-1].endswith('Used by system') 195 195 196 196 class AccessCodeTests(FunctionalTestCase): … … 236 236 # Access codes have a history. 237 237 match = re.match( 238 '^../../.... ..:..:.. - Initialized \(new state: initialized\)',238 '^../../.... ..:..:.. - Initialized by system', 239 239 self.ac1.history) 240 240 assert match is not None
Note: See TracChangeset for help on using the changeset viewer.