66537fbe05
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.
13 lines
256 B
Python
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
|