'Admin should not be auto-logged out'

def test_admin_no_logout_after_interval(self):

    admin_data = {'username': 'admin', 'password': 'admin'}
    self.admin = self.create_admin(**admin_data)
    self.browser_login_admin(**admin_data)
    time.sleep(3)
    self.browse_to(self.reverse('homepage'))
    self.assertTrue(self.browser_is_logged_in(), 'Timeout    should    not    logout    admin')
