-
-
Notifications
You must be signed in to change notification settings - Fork 419
Closed
Labels
Priority: HighAn important issue requiring attentionAn important issue requiring attentionStatus: Help WantedExtra attention is neededExtra attention is neededType: BugSomething isn't working as intendedSomething isn't working as intendedType: TestsTests or testing relatedTests or testing related
Description
Checklist
- I am using an up-to-date version.
- I have read the documentation.
- I have searched existing issues.
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
- Clone and set up a TagStudio development environment per the CONTRIBUTING.md instructions
- Run Pytest with
pytest tagstudio/tests/ - Observe modified file at
\TagStudio\tagstudio\tests\fixtures\search_library\.TagStudio\ts_library.sqlite
Logs
No response
Metadata
Metadata
Assignees
Labels
Priority: HighAn important issue requiring attentionAn important issue requiring attentionStatus: Help WantedExtra attention is neededExtra attention is neededType: BugSomething isn't working as intendedSomething isn't working as intendedType: TestsTests or testing relatedTests or testing related
Type
Projects
Status
✅ Done