[modules] Separate modules into core & contrib
Also, improve errors when importing a module fails. Also, add more tests.
This commit is contained in:
parent
47950240d0
commit
efc2e4f94e
15 changed files with 38 additions and 10 deletions
13
modules/core/test.py
Normal file
13
modules/core/test.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
# pylint: disable=C0111,R0903
|
||||
|
||||
"""Test module
|
||||
"""
|
||||
|
||||
import core.widget
|
||||
import core.module
|
||||
|
||||
class Module(core.module.Module):
|
||||
def __init__(self, config=None):
|
||||
super().__init__(config, core.widget.Widget('test'))
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
Loading…
Add table
Add a link
Reference in a new issue