From 0792e392c717f73f4ad2eeb70eae74b0bb1c4328 Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Wed, 16 Oct 2019 10:12:00 +0000 Subject: [PATCH] doc --- pkgs_envsetup.py | 14 ++++++++------ tests/test_dns_records.py | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs_envsetup.py b/pkgs_envsetup.py index a861c815..b7326cbd 100755 --- a/pkgs_envsetup.py +++ b/pkgs_envsetup.py @@ -4,12 +4,14 @@ from subprocess import run, DEVNULL, PIPE, STDOUT PACKAGES = [ "bsd-mailx", # for "mail" command used in tester - "python3-defusedxml", - "python3-openssl", - "python3-psutil", - "python3-pydbus", - "python3-requests", - "python3-spf", + "python3-defusedxml", # for: test_wowza + "python3-dnspython", # for: test_caches + "python3-openssl", # for: test_ssl + "python3-psutil", # for: test_wowza + "python3-psycopg2", # for: test_postgresql + "python3-pydbus", # for: test_dns_records + "python3-requests", # for: test_nginx_status, test_nginx_vhosts, test_ssl, test_apt_proxy, test_ubicast_packages_access + "python3-spf", # for: test_email ] diff --git a/tests/test_dns_records.py b/tests/test_dns_records.py index b92d3687..69dd51e6 100755 --- a/tests/test_dns_records.py +++ b/tests/test_dns_records.py @@ -12,8 +12,8 @@ import sys try: import pydbus -except: - pass +except ImportError: + exit(2) sys.path.append(str(Path(__file__).parents[1].resolve())) -- GitLab