bumblebee-status/modules/test.py
Tobias Witek 66537fbe05 [core/output] Rewrite to hide sys.stout
Add generic "draw()" method that redirects internally to the actual
calls. These can now produce JSON, which is nicer because:

1. Easier to use during testing
2. More flexible
3. Centralizes printing (somewhat)

Still, the "suffix" concept isn't really nice, but so far, I have no
better approach.
2020-02-01 21:37:38 +01:00

13 lines
256 B
Python

# pylint: disable=C0111,R0903
"""Test module
"""
import core.widget
import core.module
class Module(core.module.Module):
def __init__(self):
super().__init__(core.widget.Widget('test'))
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4