Skip to content
Snippets Groups Projects
Commit ac568a22 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

update tests

parent e860c471
No related branches found
No related tags found
1 merge request!898Expose --blc-stripes to update_config.py and fix old parameter names
...@@ -92,8 +92,9 @@ EXPECTED_CONF = [ ...@@ -92,8 +92,9 @@ EXPECTED_CONF = [
'xray-gain': {'type': bool}, 'xray-gain': {'type': bool},
'blc-noise': {'type': bool}, 'blc-noise': {'type': bool},
'blc-set-min': {'type': bool}, 'blc-set-min': {'type': bool},
'dont-zero-nans': {'type': bool}, 'blc-stripes': {'type': bool},
'dont-zero-orange': {'type': bool}, 'zero-nans': {'type': bool},
'zero-orange': {'type': bool},
'max-pulses': {'type': list, 'max-pulses': {'type': list,
'msg': 'Range list of maximum pulse indices ' 'msg': 'Range list of maximum pulse indices '
'(--max-pulses start end step). ' '(--max-pulses start end step). '
...@@ -106,8 +107,9 @@ EXPECTED_CONF = [ ...@@ -106,8 +107,9 @@ EXPECTED_CONF = [
'no-xray-gain': {'type': bool}, 'no-xray-gain': {'type': bool},
'no-blc-noise': {'type': bool}, 'no-blc-noise': {'type': bool},
'no-blc-set-min': {'type': bool}, 'no-blc-set-min': {'type': bool},
'no-dont-zero-nans': {'type': bool}, 'no-blc-stripes': {'type': bool},
'no-dont-zero-orange': {'type': bool} 'no-zero-nans': {'type': bool},
'no-zero-orange': {'type': bool}
}, },
{ {
'karabo-da': { 'karabo-da': {
...@@ -137,15 +139,17 @@ args_1 = { ...@@ -137,15 +139,17 @@ args_1 = {
"xray_gain": None, "xray_gain": None,
"blc_noise": None, "blc_noise": None,
"blc_set_min": None, "blc_set_min": None,
"dont_zero_nans": None, "blc_stripes": None,
"dont_zero_orange": None, "zero_nans": None,
"zero_orange": None,
"max_pulses": None, "max_pulses": None,
"no_rel_gain": None, "no_rel_gain": None,
"no_xray_gain": None, "no_xray_gain": None,
"no_blc_noise": None, "no_blc_noise": None,
"no_blc_set_min": None, "no_blc_set_min": None,
"no_dont_zero_nans": None, "no_blc_stripes": None,
"no_dont_zero_orange": None, "no_zero_nans": None,
"no_zero_orange": None,
"karabo_da": None, "karabo_da": None,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment