Browse Source

chore: clean the folder structure

pull/588/head
Parodi, Eugenio 🌶 3 months ago
parent
commit
175c46033e
  1. 0
      apps/ttkode/ttkode/plugins/_030/scripts/_glue_lib.py
  2. 4
      apps/ttkode/ttkode/plugins/_030/scripts/_main_scan.py
  3. 4
      apps/ttkode/ttkode/plugins/_030/scripts/_main_tests.py

0
apps/ttkode/ttkode/plugins/_030/pytest_glue.py → apps/ttkode/ttkode/plugins/_030/scripts/_glue_lib.py

4
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])

4
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])

Loading…
Cancel
Save