Ignore:
Timestamp:
27 Nov 2014, 21:11:32 (10 years ago)
Author:
Henrik Bettermann
Message:

Add batch processor for products.

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  
    178178
    179179    def test_manage_access(self):
    180         # Managers can access the view page of products
     180        # Managers can access the view pages of products
    181181        # and can perform actions
    182182        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    183183        self.browser.open(self.product_path)
    184184        self.assertEqual(self.browser.headers['Status'], '200 Ok')
     185        # There is a Manage button
    185186        self.browser.getLink("Manage").click()
    186187        self.assertEqual(self.browser.headers['Status'], '200 Ok')
     
    199200                'waeup.local.ProductManager')[0],
    200201            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')
    201205        # If products is deleted also the local role disappears
    202206        self.browser.open(self.manage_container_path)
Note: See TracChangeset for help on using the changeset viewer.