'Request a page that is protected with @login, but use an inactive login'

def test_view_with_inactive_login(self):

    login = self.client.login(username='inactive', password='password')
    self.assertFalse(login)
