aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_gui.py b/tests/test_gui.py
index b326ee1..d45fffd 100644
--- a/tests/test_gui.py
+++ b/tests/test_gui.py
@@ -405,7 +405,11 @@ class SmokeTest(unittest.TestCase):
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") # highlighted but not ticked: nothing
+ self.assertEqual(started, [])
+ tab.model.checked.add("foo")
tab.act("update")
+ tab.model.checked.clear()
select, clear = tab.keys
select.activated.emit()
self.assertEqual(len(tab.model.checked), 4)