Unittests fail on branch dev / (ci-cd)
locally on WSL, the following error occurs, I suspect its python3.8 (didn't manage to change version atm, pip is on strike on windows...)
:/mnt/c/git/NFDI4ing/plot_ID_python# python3 -m unittest discover -s ./tests/ -p "test_*"
...E.
======================================================================
ERROR: test_TagPlot (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_TagPlot
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/mnt/c/git/NFDI4ing/plot_ID_python/tests/test_TagPlot.py", line 7, in <module>
from TagPlot import TagPlot
File "/mnt/c/git/NFDI4ing/plot_ID_python/TagPlot.py", line 65
match location:
^
SyntaxError: invalid syntax
On the docker python image, 3 Tests are failing currently.
https://git.rwth-aachen.de/plotid/plotid_python/-/jobs/2522036
Some errors look like wrong arguments are handed over, I suspect something broke during the automerge (compare #20 (closed) )
On local python3.10 on windows I get the same errors as the GitLab Runner.