Maintain and document test checks with pytest
Hello,
I am trying to use the test scripts in order to package it. I think the way to go is to run ./test/run.py
. However this is the result:
Test run with Python 3.11.7
Traceback (most recent call last):
File "/home/alpine/aports/testing/venc/src/VenC-v3.1.1/./test/run.py", line 23, in <module>
from patterns_processing import run_tests as patterns_processing
File "/home/alpine/aports/testing/venc/src/VenC-v3.1.1/test/patterns_processing.py", line 20, in <module>
from venc3.patterns.processor import PatternNode
ImportError: cannot import name 'PatternNode' from 'venc3.patterns.processor' (/usr/lib/python3.11/site-packages/venc3/patterns/processor.py)
There is no PatternNode
in the code so I think this may be outdated.