Skip to content

[Bug]: Tests failing on windows #770

@SkeleyM

Description

@SkeleyM

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha 9.5.0 Pre-release 1

Operating System & Version

Windows 10 22H2

Description

The tests are failing locally, i'm not sure if this is just me or not though, this stems from the recent thumbnail caching

attempts to read cached thumbs are being made to \dev\null?

also not sure if this is just windows or not i'm just assuming it is

Expected Behavior

Tests should pass normally

Steps to Reproduce

  1. on a windows system attempt to run the tests locally

Logs

FAILED tests\qt\test_field_containers.py::test_update_selection_empty - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_update_selection_single - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_update_selection_multiple - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_add_tag_to_selection_single - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_add_same_tag_to_selection_single - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_add_tag_to_selection_multiple - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_meta_tag_category - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493525'
FAILED tests\qt\test_field_containers.py::test_custom_tag_category - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'
FAILED tests\qt\test_item_thumb.py::test_badge_visual_state[True] - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'
FAILED tests\qt\test_item_thumb.py::test_badge_visual_state[False] - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'
FAILED tests\qt\test_preview_panel.py::test_update_selection_empty - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'
FAILED tests\qt\test_preview_panel.py::test_update_selection_single - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'
FAILED tests\qt\test_preview_panel.py::test_update_selection_multiple - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'
FAILED tests\qt\test_qt_driver.py::test_library_state_update - FileNotFoundError: [WinError 3] The system cannot find the path specified: '\dev\null\.TagStudio\thumbs\1738493526'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumAn issue that shouldn't be be saved for lastType: BugSomething isn't working as intendedType: CIContinuous Integration / workflows

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions