Closed krotoff closed 2 years ago
Hi @krotoff 👋, thanks for the feedback. You seem to be right. As a matter of fact, I was able to solve this first issue by simply upgrading tabulate:
pip install tabulate==0.8.9 -U
since there seems to be a bug related to python 3.10, but unfortunately another issue came up. It seems there is a problem with the current import module structure when executing the unit tests from the command line. The interesting part is, this seems to work pretty fine by using test discovery and execution within vscode:
Will have to check this in detail in the following days. Maybe I need to implement unit tests for the unit tests 👀.
Hello, @glato!
Recursion as it is :)
@krotoff Had the time to figure out, how to manually get the tests running from the command line again. While in the project root directory, simply do a
python -m unittest discover -v -s ./emerge -p "test_*.py"
This should hopefully start and run all present tests and give an output that ends similar to
Ran 21 tests in 1.046s
OK
I will update requirements.txt and setup.py to match tabulate 0.8.9, update the README and adjust run_tests.py in the next release. Will make a small README update before the next release that mentions the command line version.
Thanks again for the hint.
@glato glad to hear it and to help :)
@krotoff Updated tabulate
, unit tests and README in the current release 1.2.0
so that it should be working fine again.
@glato thank you! Tests are working now :)
Failed tests I have failed tests on step 5.
Describe your environment
To Reproduce
Expected behavior Successful tests
Reality