Ignore:
Timestamp:
9 Sep 2011, 18:06:30 (13 years ago)
Author:
Henrik Bettermann
Message:

Found out by trial and error:

remove_logger('waeup.sirp.app.students') at the beginning of the second test method of StudentUITests fixes the AssertionError? self.assertTrue(filename1 != filename2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r6701 r6702  
    3333from zope.testbrowser.testing import Browser
    3434from hurry.workflow.interfaces import IWorkflowInfo
    35 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
     35from waeup.sirp.testing import (
     36    FunctionalLayer, FunctionalTestCase, remove_logger
     37    )
    3638from waeup.sirp.app import University
    3739from waeup.sirp.students.container import StudentsContainer
     
    255257        # Students can access their own objects
    256258        # and can perform actions
    257 
     259        remove_logger('waeup.sirp.app.students')
    258260        self.browser.open(self.login_path)
    259261        self.browser.getControl(name="form.login").value = self.test_student_id
Note: See TracChangeset for help on using the changeset viewer.