[Bug]: Pytest modifies and updates search_library sqlite file #644
Labels
Priority: High
An important issue requiring attention
Status: Help Wanted
Extra attention is needed
Type: Bug
Something isn't working as intended
Type: Tests
Tests or testing related
Checklist
TagStudio Version
Alpha v9.5.0 (main branch)
Operating System & Version
Windows 10
Description
Running Pytest (specifically one or more of the search_library tests) results in the test database being modified, resulting in git wanting to commit the changes.
The internal change seems to be a result of the file change counter value being updated.
Expected Behavior
The test database should not be changed on disk, especially when no changes are being made to it. It should also not be included in the .gitignore because the file in question can receive genuine updates and changes.
Steps to Reproduce
pytest tagstudio/tests/
\TagStudio\tagstudio\tests\fixtures\search_library\.TagStudio\ts_library.sqlite
Logs
No response
The text was updated successfully, but these errors were encountered: