From f3ab1dec6b78b4eec27b02cec191268aae54201c Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Mon, 6 Mar 2017 19:26:16 +0100 Subject: [PATCH] fix test for show in interpretation --- tests/test_analysis_tab_GUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_analysis_tab_GUI.py b/tests/test_analysis_tab_GUI.py index c852ae3b..a857d3c9 100644 --- a/tests/test_analysis_tab_GUI.py +++ b/tests/test_analysis_tab_GUI.py @@ -137,8 +137,9 @@ class TestAnalysisTabGUI(unittest.TestCase): self.cfc.ui.tblViewProtocol.selectRow(1) min_row, max_row, start, end = self.cfc.ui.tblViewProtocol.selection_range() - self.cfc.ui.tblViewProtocol.show_interpretation_clicked.emit(min_row, max_row, start, end - 1) + self.cfc.ui.tblViewProtocol.show_interpretation_clicked.emit(min_row, start, max_row, end - 1) self.assertEqual(self.form.ui.tabWidget.currentIndex(), 0) + self.assertFalse(self.form.signal_tab_controller.signal_frames[0].ui.gvSignal.selection_area.is_empty) def test_hide_row(self): num_messages = len(self.cfc.proto_analyzer.messages)