Ignore:
Timestamp:
6 Apr 2016, 07:42:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Rearrange datacenter upload page. Provide modal windows to view all
processors and sources and vocabularies.

See r12932, r12933 and 12955ff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/tests/test_browser.py

    r13803 r13804  
    214214            'This account has been suspended.' in self.browser.contents)
    215215        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.