def METHOD_NAME(self, mock_data, artifacts_dir_mock) -> None:
    # Force the value of `artifacts_require_repo` to True so we can force
    # looking for the artifacts_dir
    mock_data.dict = unittest.mock.Mock()
    mock_data.dict.return_value = self._test_repo_config(
        artifacts_require_repo=True,
    )
    with temp_dir() as td:
        mock_backing_dir = td / "backing-dir"
        mock_artifact_dir = Path(td / "buck-image-out")
        os.symlink(mock_backing_dir, mock_artifact_dir)
        artifacts_dir_mock.return_value = mock_artifact_dir
        # Note: this has to be a string because the `config_t` shape doesn't
        # understand the Path type yet
        self.assertIn(
            mock_backing_dir,
            _unmemoized_repo_config().host_mounts_for_repo_artifacts,
        )