diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_gui.py b/tests/test_gui.py index 8353441..b326ee1 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -399,6 +399,10 @@ class SmokeTest(unittest.TestCase): tab.start_requested.connect(started.append) tab.act("update") self.assertEqual(started, []) # nothing checked, no current row + tab.table.clicked.emit(tab.proxy.index(3, 2)) # a click on a row's values ticks it + self.assertEqual(tab.model.checked, {"curl"}) + tab.table.clicked.emit(tab.proxy.index(3, 0)) + self.assertEqual(tab.model.checked, set()) tab.table.setCurrentIndex(tab.proxy.index(1, 1)) self.assertIn("<s>x</s>", tab.detail.text()) tab.act("update") |
