From 9a03b3cc3f3ed36033ed28dd18dc039b8cb3a97e Mon Sep 17 00:00:00 2001 From: Michal Reznik Date: Tue, 15 Jun 2021 22:17:49 +0200 Subject: [PATCH] to delte --- conftest.py | 16 ++++++++++++++++ repos/common/topics/systeminfo.py | 5 ----- repos/system_upgrade/common/.leapp/info | 2 +- utils/actor_path.py | 6 ++++++ 4 files changed, 23 insertions(+), 6 deletions(-) delete mode 100644 repos/common/topics/systeminfo.py diff --git a/conftest.py b/conftest.py index 300415ff1f..4ec68dafac 100644 --- a/conftest.py +++ b/conftest.py @@ -32,8 +32,24 @@ def pytest_collectstart(collector): not in str(collector.fspath) ): actor = None + print() + print() + print() + #print('COLECTOR', collector.session.leapp_repository.actors) + print() + print() for a in collector.session.leapp_repository.actors: + print('A', a) + print('BASEDIR', current_repo_basedir) + print('Afull', a.full_path) + print('Acollector', collector.fspath.dirpath().dirname) if a.full_path == collector.fspath.dirpath().dirname: + print() + print() + print('HIT') + print() + print() + print() actor = a break diff --git a/repos/common/topics/systeminfo.py b/repos/common/topics/systeminfo.py deleted file mode 100644 index 446c2b70a9..0000000000 --- a/repos/common/topics/systeminfo.py +++ /dev/null @@ -1,5 +0,0 @@ -from leapp.topics import Topic - - -class SystemInfoTopic(Topic): - name = 'system_info' diff --git a/repos/system_upgrade/common/.leapp/info b/repos/system_upgrade/common/.leapp/info index 6aa10c8a84..2e676f80bc 100644 --- a/repos/system_upgrade/common/.leapp/info +++ b/repos/system_upgrade/common/.leapp/info @@ -1 +1 @@ -{"repos": ["efcf9016-f2d1-4609-9329-a298e6587b3c"], "messages": {}, "name": "common", "id": "644900a5-c347-43a3-bfab-f448f46d9647"} +{"name": "common", "id": "644900a5-c347-43a3-bfab-f448f46d9647"} diff --git a/utils/actor_path.py b/utils/actor_path.py index 03e273c5ae..0bf0a36e75 100755 --- a/utils/actor_path.py +++ b/utils/actor_path.py @@ -10,6 +10,12 @@ BASE_REPO = 'repos' repos = find_and_scan_repositories(BASE_REPO, include_locals=True) + print() + print() + print() + print() + print(repos) + print() repos.load() if len(sys.argv) > 1: actor = repos.lookup_actor(sys.argv[1])