|
@@ -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)
|