def METHOD_NAME():
    runner = CliRunner()
    with runner.isolated_filesystem():
        result = runner.invoke(scaffold_code_location_command, ["--name", "my_dagster_code"])
        assert result.exit_code == 0
        assert os.path.exists("my_dagster_code")
        assert os.path.exists("my_dagster_code/my_dagster_code")
        assert os.path.exists("my_dagster_code/my_dagster_code_tests")
        assert os.path.exists("my_dagster_code/pyproject.toml")
        # test target loadable
        origins = get_origins_from_toml("my_dagster_code/pyproject.toml")
        assert len(origins) == 1
        assert origins[0].loadable_target_origin.module_name == "my_dagster_code"