def METHOD_NAME(repository_dir):
    setup_repo(repository_dir)
    def _run_test(repo_path):
        with repo_path.as_cwd():
            repository = find_and_scan_repositories(repo_path.dirpath().strpath)
            assert repository
            repository.load(resolve=True)
            assert getattr(leapp.tags, 'TestTag')
            assert repository.lookup_actor('TestActor')
            assert repository.lookup_workflow('TestWorkflow')
            assert not repository.lookup_workflow('MissingWorkflow')
            assert not repository.lookup_actor('MissingActor')
            assert repository.repos
            assert len(repository.serialize()) >= 1
            assert repository.actors
            assert not repository.topics
            assert not repository.models
            assert repository.tags
            assert repository.workflows
            assert repository.tools
            assert repository.libraries
            assert repository.files
            with pytest.raises(LeappRuntimeError):
                repository.lookup_actor('TestActor')().run()
    p = Process(target=_run_test, args=(repository_dir,))
    p.start()
    p.join()
    assert p.exitcode == 0