Ignore:
Timestamp:
6 Dec 2016, 07:46:26 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/customers/tests/test_browser.py

    r12665 r14312  
    317317        self.contract.tc_dict = {'en': u'<strong>Hello world</strong>'}
    318318        self.contract.title = u'Contract Title'
    319         self.browser.open(self.customer_path + '/contracts/CON1')
     319        self.browser.open(
     320            self.customer_path + '/contracts/%s' % self.contract.contract_id)
    320321        self.browser.getLink("Download contract slip").click()
    321322        self.assertEqual(self.browser.headers['Status'], '200 Ok')
Note: See TracChangeset for help on using the changeset viewer.