In jobs "patterns_tests" and "live_sync_tests" TestTools are not installed properly
In jobs:
- live_sync_tests,
- patterns_tests
TestTools are not installed, but only it's path is added to
PYTHONPATH
. There are no explanation in comment, so we don't know if it was done by accident or because of some real purpose.
In both of these job definitions are following code:
both_of_above_jobs:
variables:
PYTHONPATH: $CI_PROJECT_DIR/tests/test_tools/package
Solution:
-
live_sync_tests
are tox based, so there should be added proper TestTools instalation (see TestTools home page for details). -
patterns_tests
usesrequirements.txt
($CI_PROJECT_DIR/tests/api_tests/comparsion_tests/requirements.txt
). So there should be added proper TestTools instalation.