File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import contextlib
22from _pytest import monkeypatch
3- from numpy import fix
43import pytest
5- import datetime
64import pytest_mock
75import typing
86import uuid
9- import time
107import tempfile
118import os
129import json
1815import simvue .run as sv_run
1916import simvue .api .objects as sv_api_obj
2017import simvue .config .user as sv_cfg
21- import simvue .utilities
2218
23- from simvue .api .objects .artifact import Artifact
2419from simvue .exception import ObjectNotFoundError
2520
2621MAX_BUFFER_SIZE : int = 10
Original file line number Diff line number Diff line change @@ -69,13 +69,14 @@ def test_config_setup(
6969 with open ((_ppt_file := pathlib .Path (temp_d ).joinpath ("pyproject.toml" )), "w" ) as out_f :
7070 out_f .write (_lines_ppt )
7171 with open (_config_file := pathlib .Path (temp_d ).joinpath ("simvue.toml" ), "w" ) as out_f :
72+ _windows_safe = temp_d .replace ("\\ " , "\\ \\ " )
7273 _lines : str = f"""
7374 [server]
7475 url = "{ _url } "
7576 token = "{ _token } "
7677
7778 [offline]
78- cache = "{ temp_d } "
79+ cache = "{ _windows_safe } "
7980 """
8081
8182 if use_file == "extended" :
You can’t perform that action at this time.
0 commit comments