def test_get_missing_response(): response = Base.get_response({}) assert response is None
def test_get_response(): response = Base.get_response({'request': DummyRequest()}) assert isinstance(response, Response)
def test_get_missing_response(): response = Base.get_response({}) assert response is None
def test_get_response(): response = Base.get_response({'request': DummyRequest()}) assert isinstance(response, Response)