Changeset 12343 for main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests
- Timestamp:
- 30 Dec 2014, 12:52:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12342 r12343 1293 1293 # from the chosen product. 1294 1294 self.assertTrue('<option selected="selected" value="Any product option">' 1295 'Any product option @ 88.8 E UR</option>'1295 'Any product option @ 88.8 Euro</option>' 1296 1296 in self.browser.contents) 1297 1297 self.assertTrue('<option value="First option">First option ' 1298 '@ 99.9 US D</option>' in self.browser.contents)1298 '@ 99.9 US Dollar</option>' in self.browser.contents) 1299 1299 # In test browser we can at least replace the option 1300 1300 self.browser.getControl( … … 1304 1304 self.assertEqual(contract.product_options[0].title, 'First option') 1305 1305 self.browser.getLink("View").click() 1306 self.assertTrue('<span>First option @ 99.9 US D</span>' in self.browser.contents)1306 self.assertTrue('<span>First option @ 99.9 US Dollar</span>' in self.browser.contents) 1307 1307 self.assertEqual(self.browser.url, self.contracts_path + '/%s/index' % conid) 1308 1308 # An href attribute is referring to the document and product objects
Note: See TracChangeset for help on using the changeset viewer.