diff --git a/tests/gems/arch/test_pacman.py b/tests/gems/arch/test_pacman.py index ea7e2c25..f339313d 100644 --- a/tests/gems/arch/test_pacman.py +++ b/tests/gems/arch/test_pacman.py @@ -1,4 +1,5 @@ import os +import warnings from unittest import TestCase from bauh.gems.arch import pacman @@ -8,6 +9,10 @@ FILE_DIR = os.path.dirname(os.path.abspath(__file__)) class PacmanTest(TestCase): + @classmethod + def setUpClass(cls): + warnings.filterwarnings('ignore') + def test_list_ignored_packages(self): ignored = pacman.list_ignored_packages(FILE_DIR + '/resources/pacman_ign_pkgs.conf')