diff options
Diffstat (limited to 'ttystatus/status_tests.py')
-rw-r--r-- | ttystatus/status_tests.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ttystatus/status_tests.py b/ttystatus/status_tests.py index 3583028..d333404 100644 --- a/ttystatus/status_tests.py +++ b/ttystatus/status_tests.py @@ -63,22 +63,6 @@ class TerminalStatusTests(unittest.TestCase): self.ts.add(w) self.assertEqual(self.ts._widgets, [w]) - def test_adds_widget_as_interested_in_keys(self): - class W(ttystatus.Widget): - def __init__(self): - self.interesting_keys = ['foo'] - w = W() - self.ts.add(w) - self.assert_(w in self.ts._interests['foo']) - - def test_adds_widget_to_wildcards(self): - class W(ttystatus.Widget): - def __init__(self): - self.interesting_keys = None - w = W() - self.ts.add(w) - self.assert_(w in self.ts._wildcards) - def test_adds_widgets_from_format_string(self): self.ts.format('hello, %String(name)') self.assertEqual(len(self.ts._widgets), 2) |