Changeset 6438
- Timestamp:
- 20 Jun 2011, 20:11:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_catalog.py
r6437 r6438 149 149 assert len(results) == 1 150 150 assert self.ac1 in results 151 152 def test_ac_change(self): 153 # When an AC is changed, that change will be reflected 154 # immediately in catalog 155 cat = queryUtility(ICatalog, name='accesscodes_catalog') 156 result = cat.searchResults(used=(True, True)) 157 assert len(result) == 0 158 invalidate_accesscode('APP-1-11111111') 159 result = cat.searchResults(used=(True, True)) 160 assert len(result) == 1
Note: See TracChangeset for help on using the changeset viewer.