summaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests/perl-openssl_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
commit6dba7fe33f3f508033d1192ef4dbf98707f24140 (patch)
treed84b5b1ebca79975ae2a30f22c91c7964182c223 /tests/plugin_tests/perl-openssl_test.py
parentAdding debian version 0.1.28. (diff)
downloaddebputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.tar.xz
debputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.zip
Merging upstream version 0.1.29.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/plugin_tests/perl-openssl_test.py')
-rw-r--r--tests/plugin_tests/perl-openssl_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/plugin_tests/perl-openssl_test.py b/tests/plugin_tests/perl-openssl_test.py
index 37f2ba1..27d680d 100644
--- a/tests/plugin_tests/perl-openssl_test.py
+++ b/tests/plugin_tests/perl-openssl_test.py
@@ -1,5 +1,6 @@
import stat
import os
+from typing import Iterator
import pytest
@@ -13,7 +14,7 @@ STUB_CMD = os.path.join(os.path.dirname(__file__), "perl-ssl_test.sh")
@pytest.fixture(scope="session")
-def perl_ssl_stub_cmd() -> None:
+def perl_ssl_stub_cmd() -> Iterator[None]:
os.environ["_PERL_SSL_DEFAULTS_TEST_PATH"] = STUB_CMD
mode = stat.S_IMODE(os.stat(STUB_CMD).st_mode)
if (mode & 0o500) != 0o500: