def test_resolver_value_error():
    app = AppSyncResolver()
    with pytest.raises(ValueError) as exp:
        event = {'typeName': 'type', 'fieldName': 'field', 'arguments': {}}
        app.resolve(event, LambdaContext())
    assert (exp.value.args[0] == "No resolver found for 'type.field'")
def test_resolver_value_error():
    app = AppSyncResolver()
    with pytest.raises(ValueError) as exp:
        event = {'typeName': 'type', 'fieldName': 'field', 'arguments': {}}
        app.resolve(event, LambdaContext())
    assert (exp.value.args[0] == "No resolver found for 'type.field'")