(self)
| 30 | self.saws.get_shortcut_match) |
| 31 | |
| 32 | def test_toolbar_on(self): |
| 33 | self.saws.set_color(True) |
| 34 | self.saws.set_fuzzy_match(True) |
| 35 | self.saws.set_shortcut_match(True) |
| 36 | expected = [ |
| 37 | (Token.Toolbar.On, ' [F2] Color: ON '), |
| 38 | (Token.Toolbar.On, ' [F3] Fuzzy: ON '), |
| 39 | (Token.Toolbar.On, ' [F4] Shortcuts: ON '), |
| 40 | (Token.Toolbar, ' [F5] Refresh '), |
| 41 | (Token.Toolbar, ' [F9] Docs '), |
| 42 | (Token.Toolbar, ' [F10] Exit ')] |
| 43 | assert expected == self.toolbar.handler(None) |
| 44 | |
| 45 | def test_toolbar_off(self): |
| 46 | self.saws.set_color(False) |
nothing calls this directly
no test coverage detected