[tests] fix some test prerequisites
This commit is contained in:
parent
4fe56fc00d
commit
550b594c86
3 changed files with 2 additions and 4 deletions
|
@ -25,6 +25,8 @@ def is_internal(module):
|
||||||
return True
|
return True
|
||||||
if module.startswith("util.") or module == "util":
|
if module.startswith("util.") or module == "util":
|
||||||
return True
|
return True
|
||||||
|
if module.startswith("bumblebee_status."):
|
||||||
|
return True
|
||||||
if module.startswith("."):
|
if module.startswith("."):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
pytest.importorskip("bumblebee_status.discover")
|
|
||||||
|
|
||||||
def test_load_module():
|
def test_load_module():
|
||||||
__import__("modules.contrib.pacman")
|
__import__("modules.contrib.pacman")
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
pytest.importorskip("bumblebee_status.discover")
|
|
||||||
|
|
||||||
pytest.importorskip("i3")
|
pytest.importorskip("i3")
|
||||||
|
|
||||||
def test_load_module():
|
def test_load_module():
|
||||||
|
|
Loading…
Reference in a new issue