Ignore:
Timestamp:
7 Feb 2015, 07:15:24 (10 years ago)
Author:
Henrik Bettermann
Message:

Application slip must be created again to correspond to the final slip version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicantcopier.py

    r12395 r12565  
    2929from waeup.kofa.interfaces import IExtFileStore, IFileStoreNameChooser
    3030from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
     31from waeup.kofa.browser.tests.test_pdf import samples_dir
    3132
    3233session = datetime.now().year - 2
     
    114115        self.assertTrue(len(pdf) > 0)
    115116        self.assertEqual(pdf[:8], '%PDF-1.4')
     117        # Copy te file to samples_dir
     118        path = os.path.join(samples_dir(), 'aplication_slip.pdf')
     119        open(path, 'wb').write(pdf)
     120        print "Sample PDF aplication_slip.pdf written to %s" % path
    116121        # Check if there is an application slip link in UI
    117122        self.assertTrue('Application Slip' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.