548ccc5e94
add auto-generated tests that check that a given module can be imported, if all prerequisites are followed. see #641
13 lines
212 B
Python
13 lines
212 B
Python
import pytest
|
|
|
|
pytest.importorskip("tkinter")
|
|
|
|
pytest.importorskip("PIL")
|
|
|
|
pytest.importorskip("requests")
|
|
|
|
pytest.importorskip("simplejson")
|
|
|
|
def test_load_module():
|
|
__import__("modules.contrib.octoprint")
|
|
|