Forráskód Böngészése

[DATALAD] Recorded changes

Daniel Busch 4 hónapja
szülő
commit
e1f5969c82
1 módosított fájl, 3 hozzáadás és 3 törlés
  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)