Closed Bachibouzouk closed 4 years ago
@smartie2076 - we forgot to run the pytest tests/test_benchmark.py
locally :(
This runs neither locally nor with travis, doesn´t it?
This should be related to #267, with a solution added by @Piranias in #230 or PR #235. Basically, a pie chart is about to be plotted but there is no data to use for it.
Travis does not run these tests, because they take time. That is why it is up to the person doing the PR to run them locally (they only run when the test file is explicitely called, ie pytest tests/test_benchmark.py
, when running just pytest
they will be skipped)
Oooohhh, good to know. Is there a way to ensure that the benchmark tests are always run when merging into master? That would be handy, wouldn´t it?
Yes we can run specific tests depending on branch, need to look how but I know it is possible :)
Here is the error message running
pytest tests/test_benchmark.py
and this only concern the test of the json file, the test using csv as input works fine. So it is probably something missing within the json file.Checklist to make sure that the bug report ist complete: