Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroecker committed Jul 15, 2024
1 parent 531b44c commit d41de4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def test_delete_obsolete_defines(tmpdir, run):
deleted_result = run("--deleteObsoleteDefines", inputFile, "tmp2.dbc")
with open("tmp2.dbc", "rb") as fd:
content = fd.read()
assert b"BA_DEF_" not in content
assert b"SomeUnneededDefine" not in content
normal_result = run(inputFile, "tmp2.dbc")
with open("tmp2.dbc", "rb") as fd:
content = fd.read()
assert b"BA_DEF_" in content
assert b"SomeUnneededDefine" in content

def test_delete_ecu(tmpdir, run):
inputFile = create_dbc_with_special_char()
Expand Down

0 comments on commit d41de4f

Please sign in to comment.