Ignore:
Timestamp:
14 Sep 2011, 00:45:55 (13 years ago)
Author:
uli
Message:

Remove unused imports.
Remove logger-workaround stuff.

File:
1 edited

Legend:

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

    r6750 r6753  
    2525import shutil
    2626import tempfile
    27 from StringIO import StringIO
    2827from datetime import datetime
    29 from mechanize import LinkNotFoundError
    3028from zope.component import createObject
    3129from zope.component.hooks import setSite, clearSite
    3230from zope.security.interfaces import Unauthorized
    3331from zope.testbrowser.testing import Browser
    34 from hurry.workflow.interfaces import IWorkflowInfo
    35 from waeup.sirp.testing import (
    36     FunctionalLayer, FunctionalTestCase, remove_new_loggers,
    37    )
     32from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    3833from waeup.sirp.app import University
    39 from waeup.sirp.students.container import StudentsContainer
    4034from waeup.sirp.students.student import Student
    4135from waeup.sirp.university.faculty import Faculty
     
    8175        self.test_student_id = self.app['students'].addStudent(student)
    8276        # Set password
    83         IUserAccount(self.app['students'][self.test_student_id]).setPassword('spwd')
     77        IUserAccount(
     78            self.app['students'][self.test_student_id]).setPassword('spwd')
    8479
    8580        self.login_path = 'http://localhost/app/login'
     
    276271        # Students can access their own objects
    277272        # and can perform actions
    278         remove_new_loggers(self.functional_old_loggers)
    279273        self.browser.open(self.login_path)
    280274        self.browser.getControl(name="form.login").value = self.test_student_id
Note: See TracChangeset for help on using the changeset viewer.