From 2c4a804886a3355726014fd4dccfb3e6a6c5d9bf Mon Sep 17 00:00:00 2001 From: Sherjeel Shabih Date: Wed, 17 Jan 2024 18:03:24 +0100 Subject: [PATCH] Fixes generate-template test --- tests/dataconverter/test_convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: