Skip to content
Snippets Groups Projects
Commit 42cc45b5 authored by Lan Dam's avatar Lan Dam
Browse files

correct test_extract_data.py

parent a6a81e4e
No related branches found
No related tags found
1 merge request!120fixing displayed extreme values for channels
Pipeline #2547 passed with stage
in 2 minutes and 37 seconds
......@@ -58,7 +58,7 @@ class TestExtractData(unittest.TestCase):
'convertFactor': 1,
'label': 'LCE-PhaseError',
'fixPoint': 0,
'valueColors': 'L:W|D:Y'}
'valueColors': 'L:C|D:C'}
self.assertDictEqual(
get_chan_plot_info('LCE', {'samplerate': 10}, 'Unknown'),
expected_result)
......@@ -126,7 +126,8 @@ class TestExtractData(unittest.TestCase):
"""
result = get_wf_plot_info('CH1')
expected_keys = {'param', 'plotType', 'valueColors', 'height',
'label', 'unit', 'channel', 'convertFactor'}
'label', 'unit', 'channel', 'convertFactor',
'fixPoint'}
self.assertSetEqual(set(result.keys()), expected_keys)
def test_get_chan_label_good_channel_id(self):
......
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