bumblebee-status/tests/modules/contrib/test_pacman.py
tobi-wan-kenobi 548ccc5e94 [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
2020-07-20 13:58:24 +02:00

7 lines
131 B
Python

import pytest
pytest.importorskip("bumblebee_status.discover")
def test_load_module():
__import__("modules.contrib.pacman")