548ccc5e94
add auto-generated tests that check that a given module can be imported, if all prerequisites are followed. see #641
11 lines
179 B
Python
11 lines
179 B
Python
import pytest
|
|
|
|
pytest.importorskip("datetime")
|
|
|
|
pytest.importorskip("pytz")
|
|
|
|
pytest.importorskip("tzlocal")
|
|
|
|
def test_load_module():
|
|
__import__("modules.contrib.datetimetz")
|
|
|