def test_login(self): client = APIClient() # client = RequestsClient() client.auth = HTTPBasicAuth('user', 'pass')