Skip to content

Commit 6a9e480

Browse files
author
Massimiliano Pippi
committed
fixed python tests
1 parent 9d20684 commit 6a9e480

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: test/conftest.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,14 @@ def run_command(pytestconfig, data_dir, downloads_dir, working_dir):
6262
"ARDUINO_DOWNLOADS_DIR": downloads_dir,
6363
"ARDUINO_SKETCHBOOK_DIR": data_dir,
6464
}
65+
os.makedirs(os.path.join(data_dir, "packages"))
6566

6667
def _run(cmd_string):
6768
cli_full_line = "{} {}".format(cli_path, cmd_string)
6869
run_context = Context()
6970
with run_context.cd(working_dir):
70-
return run_context.run(cli_full_line, echo=False, hide=True, warn=True, env=env)
71+
return run_context.run(
72+
cli_full_line, echo=False, hide=True, warn=True, env=env
73+
)
7174

7275
return _run

0 commit comments

Comments
 (0)