bumblebee-status/tests/modules/core/test_nic.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

9 lines
144 B
Python

import pytest
pytest.importorskip("netifaces")
pytest.importorskip("subprocess")
def test_load_module():
__import__("modules.core.nic")