Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
krpe committed Aug 4, 2022
1 parent 878068f commit 91fac1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/tomato/ketchup/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def submit(args: Namespace) -> None:
>>> ketchup submit .\dummy_random_2_0.1.yml -j dummy_random_2_0.1
jobid: 5
jobname: dummy_random_2_0.1
"""
dirs = setlib.get_dirs(args.test)
settings = setlib.get_settings(dirs.user_config_dir, dirs.user_data_dir)
Expand Down
3 changes: 1 addition & 2 deletions tests/test_dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_run_dummy_multiple(datadir):
os.chdir(datadir)
casenames = ["dummy_random_5_2", "dummy_random_1_0.1"]
jobnames = ["job one", "job two"]
utils.run_casename(casename = casenames, jobname = jobnames)
utils.run_casename(casename=casenames, jobname=jobnames)
ret = subprocess.run(
["ketchup", "-t", "status", "1", "2"],
capture_output=True,
Expand All @@ -126,4 +126,3 @@ def test_run_dummy_multiple(datadir):
assert {1, 2} == set([i["jobid"] for i in yml])
assert set(jobnames) == set([i["jobname"] for i in yml])
assert {"c"} == set([i["status"] for i in yml])

2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def tomato_setup():
return proc, p


def ketchup_setup(casename, jobname, pip = "dummy-10"):
def ketchup_setup(casename, jobname, pip="dummy-10"):
logger.debug("In 'ketchup_setup'.")
subprocess.run(["ketchup", "-t", "load", casename, pip, "-vv"])
subprocess.run(["ketchup", "-t", "ready", pip, "-vv"])
Expand Down

0 comments on commit 91fac1d

Please sign in to comment.