'Request a page that is protected with @login, but use bad credentials'

def test_view_with_bad_login(self):

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