From 30898a50fb3cac1c8fd14b5bf01c5960a0c58c78 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Mon, 27 Apr 2026 17:01:32 +0100 Subject: [PATCH] Tests: Fix import scope --- test/apps/passwd/passwd-changes.py | 1 - test/broker/09-plugin-load-basic-auth.py | 1 - test/broker/23-security-password-file-reload.py | 1 - test/mosq_test.py | 1 + 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/test/apps/passwd/passwd-changes.py b/test/apps/passwd/passwd-changes.py index e45c1998f..912332713 100755 --- a/test/apps/passwd/passwd-changes.py +++ b/test/apps/passwd/passwd-changes.py @@ -3,7 +3,6 @@ from mosq_test_helper import * import json import shutil -import signal mosq_test.require_features(["WITH_BROKER", "WITH_TLS"]) diff --git a/test/broker/09-plugin-load-basic-auth.py b/test/broker/09-plugin-load-basic-auth.py index 7019312e1..71ce01c54 100755 --- a/test/broker/09-plugin-load-basic-auth.py +++ b/test/broker/09-plugin-load-basic-auth.py @@ -3,7 +3,6 @@ # Test whether a plugin can subscribe to the tick event from mosq_test_helper import * -import signal def write_config1(filename, ports, per_listener_settings, plugver): with open(filename, 'w') as f: diff --git a/test/broker/23-security-password-file-reload.py b/test/broker/23-security-password-file-reload.py index b4df26128..3e2a1bc3c 100755 --- a/test/broker/23-security-password-file-reload.py +++ b/test/broker/23-security-password-file-reload.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 from mosq_test_helper import * -import signal mosq_test.require_features(["WITH_PLUGINS", "WITH_PLUGIN_PASSWORD_FILE", "WITH_TLS"]) diff --git a/test/mosq_test.py b/test/mosq_test.py index fad74ce0d..0f3d80c04 100644 --- a/test/mosq_test.py +++ b/test/mosq_test.py @@ -4,6 +4,7 @@ import errno import hashlib import os import platform +import signal import socket import ssl import subprocess