Changeset 3213 in products
- Timestamp:
- May 5, 2011 10:24:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/tests/testBugs.py
r3143 r3213 266 266 # Anonymous: can NOT ACCESS 267 267 headers = self.publish(path=test_url).headers 268 self.assert Equal(headers.get('bobo-exception-type', ""),269 'Unauthorized', "No 'Unauthorized' exception rised" \270 "for Anonymous on'@@seo-context-properties' view")268 self.assert_('Unauthorized' in headers.get('bobo-exception-type', ""), 269 "No 'Unauthorized' exception rised for Anonymous on " \ 270 "'@@seo-context-properties' view") 271 271 # Member: can NOT ACCESS 272 272 self.publish(path=test_url, basic=self.member_auth).headers 273 self.assert Equal(headers.get('bobo-exception-type', ""),274 'Unauthorized', "No 'Unauthorized' exception rised" \275 "for Member on'@@seo-context-properties' view")273 self.assert_('Unauthorized' in headers.get('bobo-exception-type', ""), 274 "No 'Unauthorized' exception rised for Member on " \ 275 "'@@seo-context-properties' view") 276 276 # Editor: CAN Access 277 277 res = self.publish(path=test_url, basic=self.editor_auth)
Note: See TracChangeset
for help on using the changeset viewer.