Ejemplo n.º 1
0
def test_construct_request():
    """
    Expect to contruct a request dictionary.
    """

    request = construct_request({
        'REQUEST_METHOD': 'WAFFLE'
    })
    assert isinstance(request, dict)