-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactivate skipped unit tests #137
Comments
Yeah, the CI is... in a sorry state. So is the creation of appimages, both of which have been blocking new releases. The CI is super important, but I would prioritize the creation of appimage first, as then the manual release tests can be done, and a release comparable to the previous could be done. In the meantime, I welcome even the smallest fixes to the tests, though! |
Is there a plan for refactoring-out the |
Not currently, but it can be safely removed. This flag was key to creating a new database on a new Gourmet installation. |
...and today I discovered that @MrShark has already discovered and worked on that: https://github.com/MrShark/gourmand/compare/fix_tests...MrShark:gourmand:testing @MrShark do you have any plans to continue those fixes? If not, I'd like to pick up from those commits, if that's ok with you. |
@jayaddison You are welcome to pick them up, I got squrelled away :-) The most important patch is the two first I think: https://github.com/MrShark/gourmand/commit/b6b8d18854585bdc50cb3338f49bfeab67cf49af and b5a5af4 The third patch is mostly me trying out pytest and I'm not sure of its value |
Steps to Reproduce
A few of the unit tests in the codebase have been marked as skipped temporarily.
Expected Behavior
Most, or ideally all, tests that are currently skipped should run again.
Current Behavior
Some of the unit tests are skipped.
Possible Solution
Various changes may be required to fix this (one discovered issue so far is that
backup_database
method is called with aNone
value forfilename
from some of the tests, resulting in a failure whenfilename.with_name
is accessed -- perhaps constructing a database-object-without-backups-enabled object within the unit tests could help address that).Environment
pytest
within a Python virtualenv)The text was updated successfully, but these errors were encountered: