Skip to content

Commit ed2f6f3

Browse files
committed
generated temp path
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
1 parent 24cb4ac commit ed2f6f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/operations_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ def test_cache_clear(actual_operations: Operations) -> None:
6969
assert response["success"]
7070

7171

72-
def test_snapshot(actual_operations: Operations) -> None:
72+
def test_snapshot(actual_operations: Operations, tmp_path) -> None:
7373
"""Test that the Operations object can perform the snapshot operation."""
7474
response = actual_operations.perform(
7575
"snapshot",
76-
{"snapshot_path": "/tmp"}, # noqa: S108
76+
{"snapshot_path": str(tmp_path)}, # noqa: S108
7777
)
7878

7979
assert response["success"]

0 commit comments

Comments
 (0)