Skip to content

Commit 9a703b9

Browse files
committed
fix(sync): Convert base_dir to string in FileSyncer fixture
1 parent 44a95b1 commit 9a703b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/custom/file_syncer/test_file_syncer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pytest
77

88
from humanloop.error import HumanloopRuntimeError
9-
from humanloop.sync.file_syncer import SerializableFileType, FileSyncer
9+
from humanloop.sync.file_syncer import FileSyncer, SerializableFileType
1010

1111

1212
@pytest.fixture
@@ -18,7 +18,7 @@ def mock_client() -> Mock:
1818
def file_syncer(mock_client: Mock, tmp_path: Path) -> FileSyncer:
1919
return FileSyncer(
2020
client=mock_client,
21-
base_dir=tmp_path,
21+
base_dir=str(tmp_path),
2222
cache_size=10,
2323
log_level=logging.DEBUG, # DEBUG level for testing # noqa: F821
2424
)

0 commit comments

Comments
 (0)