From 550b594c864e76cf0f26aab09a4dff971bd3e4a1 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Tue, 21 Jul 2020 08:20:55 +0200 Subject: [PATCH] [tests] fix some test prerequisites --- generate-base-tests.py | 2 ++ tests/modules/contrib/test_pacman.py | 2 -- tests/modules/core/test_xrandr.py | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/generate-base-tests.py b/generate-base-tests.py index 281dc45..3f94905 100755 --- a/generate-base-tests.py +++ b/generate-base-tests.py @@ -25,6 +25,8 @@ def is_internal(module): return True if module.startswith("util.") or module == "util": return True + if module.startswith("bumblebee_status."): + return True if module.startswith("."): return True diff --git a/tests/modules/contrib/test_pacman.py b/tests/modules/contrib/test_pacman.py index 1bd656e..01db8c6 100644 --- a/tests/modules/contrib/test_pacman.py +++ b/tests/modules/contrib/test_pacman.py @@ -1,7 +1,5 @@ import pytest -pytest.importorskip("bumblebee_status.discover") - def test_load_module(): __import__("modules.contrib.pacman") diff --git a/tests/modules/core/test_xrandr.py b/tests/modules/core/test_xrandr.py index b2d7120..720d96a 100644 --- a/tests/modules/core/test_xrandr.py +++ b/tests/modules/core/test_xrandr.py @@ -1,7 +1,5 @@ import pytest -pytest.importorskip("bumblebee_status.discover") - pytest.importorskip("i3") def test_load_module():