def METHOD_NAME(self):
    self.login_as(user=self.user, superuser=True)
    response = self.client.get(self.url, {"query": "nonsense"})
    assert response.status_code == 400
    assert "nonsense" in response.data