diff --git a/tests/dataconverter/test_convert.py b/tests/dataconverter/test_convert.py index 0612f47fb..a49cc59a5 100644 --- a/tests/dataconverter/test_convert.py +++ b/tests/dataconverter/test_convert.py @@ -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: