def METHOD_NAME(state, state_tree):
    """
    Call sls file containing several use_in and use.
    """
    # TODO: issue #8802 : use recursions undetected
    # issue is closed as use does not actually inherit requisites
    # if chain-use is added after #8774 resolution theses tests would maybe become useful
    sls_contents = """
    A:
      cmd.run:
        - name: echo "A"
        - use:
            cmd: A
    """
    errmsg = 'A recursive requisite was found, SLS "requisite" ID "A" ID "A"'
    with pytest.helpers.temp_file("requisite.sls", sls_contents, state_tree):
        ret = state.sls("requisite")
        assert ret.failed
        assert ret.errors == [errmsg]