diff --git a/tests/helpers.py b/tests/helpers.py index 3aa68f9..ba073ff 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -11,6 +11,7 @@ import os import pathlib import shutil +import platform import circfirm import circfirm.backend @@ -18,7 +19,10 @@ def get_mount() -> str: """Get the mounted drive.""" - mount_location = os.path.join(os.path.curdir, "testmount") + if platform.system() == "Windows": # pragma: no cover + mount_location = "T:\\" + else: + mount_location = os.path.join(os.path.curdir, "testmount") assert os.path.exists(mount_location) assert os.path.isdir(mount_location) return os.path.realpath(mount_location)