Skip to content

Commit

Permalink
Fixes generate-template test
Browse files Browse the repository at this point in the history
  • Loading branch information
sherjeelshabih committed Jan 17, 2024
1 parent c90f3da commit 2c4a804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dataconverter/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_cli(caplog, cli_inputs):
result = runner.invoke(dataconverter.convert_cli, cli_inputs)
if "--generate-template" in cli_inputs:
assert result.exit_code == 0
assert '"/ENTRY[entry]/NXODD_name/int_value": "None",' in caplog.text
assert '"/ENTRY[entry]/NXODD_name/int_value": "None",' in result.stdout
elif "--input-file" in cli_inputs:
assert "test_input" in caplog.text
elif result.exit_code == 2:
Expand Down

0 comments on commit 2c4a804

Please sign in to comment.