def METHOD_NAME() -> None:
    """Semantics:
    * project introspection: do not replace target generators with generated.
    * "build" goals: replace target generators with generated.
    """
    with setup_tmpdir(SOURCES) as tmpdir:
        list_specs = [f"{tmpdir}/py:bin", f"{tmpdir}/py:tests", f"{tmpdir}/py/app.py:lib"]
        assert run(["list", *list_specs]).stdout.splitlines() == list_specs
        test_result = run(["test", f"{tmpdir}/py:tests"]).stderr
        assert f"{tmpdir}/py/utils/strutil_test.py:../tests - succeeded." in test_result
        assert f"{tmpdir}/py/base/common_test.py:../tests - succeeded." in test_result
        assert f"{tmpdir}/py:tests" not in test_result