[tests] Add generic module tests
These tests check that all widgets of all modules conform to some basic principles, at least.
This commit is contained in:
parent
f9984ba386
commit
826c568625
2 changed files with 51 additions and 2 deletions
|
@ -53,9 +53,7 @@ class Module(bumblebee.engine.Module):
|
|||
def __init__(self, engine, config):
|
||||
widget = bumblebee.output.Widget(full_text=self.updates)
|
||||
super(Module, self).__init__(engine, config, widget)
|
||||
|
||||
self._next_check = 0
|
||||
widget
|
||||
|
||||
def updates(self, widget):
|
||||
result = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue