[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
9
tests/modules/core/test_xrandr.py
Normal file
9
tests/modules/core/test_xrandr.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import pytest
|
||||
|
||||
pytest.importorskip("bumblebee_status.discover")
|
||||
|
||||
pytest.importorskip("i3")
|
||||
|
||||
def test_load_module():
|
||||
__import__("modules.core.xrandr")
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue