def test_call_handler():
    """
    Expect to call the handler matching the path.
    """

    code, response = call_handler({
        'method': 'GET',
        'path': '/foo',
    })

    assert code == 404
    assert response in 'errors'
dataset/ETHPy150Open heiskr/sagefy/server/test/test_framework_index.py/test_call_handler/swapped operands of `in`