Skip to content

Commit d35068f

Browse files
committed
refactor: helper: Fix WSL normalized_file_paths related tests.
Addressed issues with file path separators `\\` specific to WSL environments.
1 parent 7116761 commit d35068f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/helper/test_helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ def test_process_media(
573573
)
574574
mocked_open_media = mocker.patch(MODULE + ".open_media")
575575
mocker.patch(MODULE + ".PLATFORM", platform)
576+
mocker.patch("zulipterminal.platform_code.PLATFORM", platform)
576577
mocker.patch("zulipterminal.core.Controller.show_media_confirmation_popup")
577578

578579
process_media(controller, link)

0 commit comments

Comments
 (0)