From ac568a22c73ba63f1c505a913334cce63e95f2a0 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Fri, 15 Sep 2023 12:08:19 +0200 Subject: [PATCH] update tests --- tests/test_update_config.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/tests/test_update_config.py b/tests/test_update_config.py index ac8e6a026..910af2e70 100644 --- a/tests/test_update_config.py +++ b/tests/test_update_config.py @@ -92,8 +92,9 @@ EXPECTED_CONF = [ 'xray-gain': {'type': bool}, 'blc-noise': {'type': bool}, 'blc-set-min': {'type': bool}, - 'dont-zero-nans': {'type': bool}, - 'dont-zero-orange': {'type': bool}, + 'blc-stripes': {'type': bool}, + 'zero-nans': {'type': bool}, + 'zero-orange': {'type': bool}, 'max-pulses': {'type': list, 'msg': 'Range list of maximum pulse indices ' '(--max-pulses start end step). ' @@ -106,8 +107,9 @@ EXPECTED_CONF = [ 'no-xray-gain': {'type': bool}, 'no-blc-noise': {'type': bool}, 'no-blc-set-min': {'type': bool}, - 'no-dont-zero-nans': {'type': bool}, - 'no-dont-zero-orange': {'type': bool} + 'no-blc-stripes': {'type': bool}, + 'no-zero-nans': {'type': bool}, + 'no-zero-orange': {'type': bool} }, { 'karabo-da': { @@ -137,15 +139,17 @@ args_1 = { "xray_gain": None, "blc_noise": None, "blc_set_min": None, - "dont_zero_nans": None, - "dont_zero_orange": None, + "blc_stripes": None, + "zero_nans": None, + "zero_orange": None, "max_pulses": None, "no_rel_gain": None, "no_xray_gain": None, "no_blc_noise": None, "no_blc_set_min": None, - "no_dont_zero_nans": None, - "no_dont_zero_orange": None, + "no_blc_stripes": None, + "no_zero_nans": None, + "no_zero_orange": None, "karabo_da": None, } -- GitLab