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