Skip to content

Commit

Permalink
Once again forgot to run linter on previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cjarmstrong97 committed Sep 3, 2021
1 parent f5dd061 commit ad812fa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/test_bionetgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@ def test_model_running_CLI():
if not os.path.isdir(test_run_folder):
os.mkdir(test_run_folder)
for model in models:
model_name = os.path.basename(model).replace(".bngl","")
model_name = os.path.basename(model).replace(".bngl", "")
try:
argv = ["run", "-i", model, "-o", os.path.join(*[tfold, "models", "cli_test_runs", model_name])]
argv = [
"run",
"-i",
model,
"-o",
os.path.join(*[tfold, "models", "cli_test_runs", model_name]),
]
with BioNetGenTest(argv=argv) as app:
app.run()
assert app.exit_code == 0
Expand Down

0 comments on commit ad812fa

Please sign in to comment.