diff --git a/apps/ttkode/ttkode/plugins/_030/pytest_glue.py b/apps/ttkode/ttkode/plugins/_030/scripts/_glue_lib.py similarity index 100% rename from apps/ttkode/ttkode/plugins/_030/pytest_glue.py rename to apps/ttkode/ttkode/plugins/_030/scripts/_glue_lib.py diff --git a/apps/ttkode/ttkode/plugins/_030/scripts/_main_scan.py b/apps/ttkode/ttkode/plugins/_030/scripts/_main_scan.py index e8a6b80a..36b2e407 100644 --- a/apps/ttkode/ttkode/plugins/_030/scripts/_main_scan.py +++ b/apps/ttkode/ttkode/plugins/_030/scripts/_main_scan.py @@ -26,7 +26,9 @@ def main() -> None: dirname = sys.argv[1] sys.path.append(f'{dirname}/..') - from _030.pytest_glue import ResultCollector_ItemCollected + sys.path.append(f'{dirname}/scripts') + + from _glue_lib import ResultCollector_ItemCollected collector = ResultCollector_ItemCollected() pytest.main(['--collect-only', '-p', 'no:terminal', '.'], plugins=[collector]) diff --git a/apps/ttkode/ttkode/plugins/_030/scripts/_main_tests.py b/apps/ttkode/ttkode/plugins/_030/scripts/_main_tests.py index 20bc34a8..5ceed863 100644 --- a/apps/ttkode/ttkode/plugins/_030/scripts/_main_tests.py +++ b/apps/ttkode/ttkode/plugins/_030/scripts/_main_tests.py @@ -30,7 +30,9 @@ def main() -> None: # test_path = "tests/pytest/test_005_tree.py::test_tree_show_hide" sys.path.append(f'{dirname}/..') - from _030.pytest_glue import ResultCollector_Logreport + sys.path.append(f'{dirname}/scripts') + + from _glue_lib import ResultCollector_Logreport collector = ResultCollector_Logreport() pytest.main(['-p', 'no:terminal', test_path], plugins=[collector])