Skip to content

Commit

Permalink
Debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmc committed Dec 16, 2024
1 parent eae6a89 commit a955a36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/dgcv/test_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ def _execute_tool(producer_model, producer_curves, reference_curves):
md = ModelValidation(ep)

compliance = md.validate(True)
except Exception as e:
compliance = str(e)
finally:
shutil.rmtree(output_dir)
return compliance
Expand Down
2 changes: 1 addition & 1 deletion tests/dgcv/validation/test_sanity_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_launchers():
with pytest.raises(OSError) as pytest_wrapped_e:
sanity_checks.check_launchers("dynawo.sh")
assert pytest_wrapped_e.type == OSError
assert pytest_wrapped_e.value.args[0] == "Dynawo not found.\n"
assert pytest_wrapped_e.value.args[0] == "Dynawo not found.\nPdfLatex not found.\n"


def test_curves_file():
Expand Down

0 comments on commit a955a36

Please sign in to comment.