'Teacher should not be auto-logged out'

def test_teacher_no_logout_after_interval(self):

    self.teacher = self.create_teacher()
    self.browser_login_teacher(username=self.teacher.username, password='password')
    time.sleep(3)
    self.browse_to(self.reverse('homepage'))
    self.assertTrue(self.browser_is_logged_in(), 'Timeout    should    not    logout    teacher')
