Changeset 12073 for main/waeup.ikoba/trunk
- Timestamp:
- 27 Nov 2014, 21:11:32 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/products
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_browser.py
r12072 r12073 178 178 179 179 def test_manage_access(self): 180 # Managers can access the view page of products180 # Managers can access the view pages of products 181 181 # and can perform actions 182 182 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 183 183 self.browser.open(self.product_path) 184 184 self.assertEqual(self.browser.headers['Status'], '200 Ok') 185 # There is a Manage button 185 186 self.browser.getLink("Manage").click() 186 187 self.assertEqual(self.browser.headers['Status'], '200 Ok') … … 199 200 'waeup.local.ProductManager')[0], 200 201 self.product) 202 # There is a View button wich directs to the index page 203 self.browser.getLink("View").click() 204 self.assertEqual(self.browser.url, self.product_path + '/index') 201 205 # If products is deleted also the local role disappears 202 206 self.browser.open(self.manage_container_path)
Note: See TracChangeset for help on using the changeset viewer.