bumblebee-status/tests/modules/contrib/test_pomodoro.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
145 B
Python

import pytest
pytest.importorskip("datetime")
pytest.importorskip("math")
def test_load_module():
__import__("modules.contrib.pomodoro")