Daniel Busch 4 месяцев назад
Родитель
Сommit
e1f5969c82
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      tests/integration/test_doit_targets.py

+ 3 - 3
tests/integration/test_doit_targets.py

@@ -13,11 +13,11 @@ def test_doit_command(change_to_project_root, tmp_path):
     """
     Test a `doit` task programmatically.
     """
-    save_path = tmp_path / "extracted_data"
-    save_path.mkdir()
+    # save_path = tmp_path
+    # save_path.mkdir()
 
     # Command-line arguments for the doit task
-    cmd_args = ["run", "read_data", f"save_path={save_path!s}", "run_id=2024"]
+    cmd_args = ["run", "read_data", f"save_path={tmp_path!s}", "run_id=2024"]
 
     # Run the doit command programmatically
     result = DoitMain().run(cmd_args)