[tests] add somewhat experimental import-time tests
add auto-generated tests that check that a given module can be imported, if all prerequisites are followed. see #641
This commit is contained in:
parent
9be1331e1b
commit
548ccc5e94
94 changed files with 624 additions and 2 deletions
|
@ -21,4 +21,8 @@ def test_full_text(mocker, kernel_module):
|
|||
assert some_kernel == kernel_module.widget().full_text()
|
||||
|
||||
|
||||
def test_load_module():
|
||||
__import__("modules.contrib.kernel")
|
||||
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue