We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284db15 commit 906a66cCopy full SHA for 906a66c
1 file changed
tests/client/contexts/test_fib.py
@@ -248,10 +248,7 @@ def test_file_transferred_to(
248
fib_maps_images: list[Path],
249
fib_maps_metadata_file: Path,
250
):
251
- # Mock the machine config and environment
252
- machine_config = {
253
- "rsync_basepath": tmp_path / "fib" / "data",
254
- }
+ # Mock the environment
255
mock_environment = MagicMock()
256
mock_environment.default_destinations = {visit_dir: "current_year"}
257
mock_environment.visit = "visit"
@@ -264,7 +261,7 @@ def test_file_transferred_to(
264
261
environment=mock_environment,
265
262
source=visit_dir,
266
263
file_path=file,
267
- machine_config=machine_config,
+ rsync_basepath=tmp_path / "fib" / "data",
268
) == destination_dir / file.relative_to(visit_dir)
269
270
0 commit comments