Changeset 13804 for main/waeup.ikoba/trunk/src/waeup/ikoba/browser/tests
- Timestamp:
- 6 Apr 2016, 07:42:09 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/tests/test_browser.py
r13803 r13804 214 214 'This account has been suspended.' in self.browser.contents) 215 215 return 216 217 def test_sources_overview(self): 218 self.browser.open('http://localhost/app/sources') 219 self.assertEqual(self.browser.headers['Status'], '200 Ok') 220 self.assertTrue('id="headingCustomerStates"' in self.browser.contents) 221 222 def test_processors_overview(self): 223 self.browser.open('http://localhost/app/processors') 224 self.assertEqual(self.browser.headers['Status'], '200 Ok') 225 self.browser.getLink(url='skeleton?name=productprocessor').click() 226 self.assertEqual(self.browser.headers['Status'], '200 Ok') 227 self.assertEqual(self.browser.headers['Content-Type'], 228 'text/csv; charset=UTF-8') 229 self.assertEqual(self.browser.contents, 230 'contract_category,contract_title,description,' 231 'options,product_id,terms_and_conditions,title,' 232 'valid_from,valid_to\r\n') 233 return
Note: See TracChangeset for help on using the changeset viewer.