diff options
author | JinWang An <jinwang.an@samsung.com> | 2021-12-01 16:54:38 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2021-12-01 16:54:38 +0900 |
commit | a4cc2ca8c024d3187c4ff465a176c7585b533411 (patch) | |
tree | 659217ad9dfa42858c46dfafb7770a1ee67d2894 /lang/python/tests | |
parent | 56c3832bc03cffe24fcca71370b668a6678d0cf9 (diff) | |
download | gpgme-a4cc2ca8c024d3187c4ff465a176c7585b533411.tar.gz gpgme-a4cc2ca8c024d3187c4ff465a176c7585b533411.tar.bz2 gpgme-a4cc2ca8c024d3187c4ff465a176c7585b533411.zip |
Imported Upstream version 1.13.0upstream/1.13.0
Diffstat (limited to 'lang/python/tests')
33 files changed, 88 insertions, 45 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am index d26d33d..d5b6e00 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -14,7 +14,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. GPG = gpg GPG_AGENT = gpg-agent diff --git a/lang/python/tests/Makefile.in b/lang/python/tests/Makefile.in index 9efd7ee..3e1f9dd 100644 --- a/lang/python/tests/Makefile.in +++ b/lang/python/tests/Makefile.in @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2013 Free Software Foundation, Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -30,9 +30,19 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. VPATH = @srcdir@ -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ @@ -96,8 +106,6 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = lang/python/tests -DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/build-aux/mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ $(top_srcdir)/m4/ax_pkg_swig.m4 \ @@ -112,6 +120,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs CONFIG_HEADER = $(top_builddir)/conf/config.h CONFIG_CLEAN_FILES = @@ -136,6 +145,8 @@ am__can_run_installinfo = \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in \ + $(top_srcdir)/build-aux/mkinstalldirs DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -149,6 +160,7 @@ AWK = @AWK@ BUILD_FILEVERSION = @BUILD_FILEVERSION@ BUILD_REVISION = @BUILD_REVISION@ BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ +BUILD_VERSION = @BUILD_VERSION@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ @@ -189,6 +201,7 @@ GPGME_QTTEST_CFLAGS = @GPGME_QTTEST_CFLAGS@ GPGME_QTTEST_LIBS = @GPGME_QTTEST_LIBS@ GPGME_QT_CFLAGS = @GPGME_QT_CFLAGS@ GPGME_QT_LIBS = @GPGME_QT_LIBS@ +GPGRT_CONFIG = @GPGRT_CONFIG@ GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@ GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@ GPG_ERROR_LIBS = @GPG_ERROR_LIBS@ @@ -204,6 +217,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ +LDADD_FOR_TESTS_KLUDGE = @LDADD_FOR_TESTS_KLUDGE@ LDFLAGS = @LDFLAGS@ LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@ LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@ @@ -404,7 +418,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lang/python/tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu lang/python/tests/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -583,6 +596,8 @@ uninstall-am: mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am +.PRECIOUS: Makefile + # XXX: Currently, one cannot override automake's 'check' target. As a # workaround, we avoid defining 'TESTS', thus automake will not emit diff --git a/lang/python/tests/final.py b/lang/python/tests/final.py index d0d52dc..4deb57d 100755 --- a/lang/python/tests/final.py +++ b/lang/python/tests/final.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/initial.py b/lang/python/tests/initial.py index 30a8de7..c94e47e 100755 --- a/lang/python/tests/initial.py +++ b/lang/python/tests/initial.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/run-tests.py b/lang/python/tests/run-tests.py index cec13b5..3a168f4 100644 --- a/lang/python/tests/run-tests.py +++ b/lang/python/tests/run-tests.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, division from __future__ import print_function, unicode_literals diff --git a/lang/python/tests/support.py b/lang/python/tests/support.py index e6b3d8b..37fdba9 100644 --- a/lang/python/tests/support.py +++ b/lang/python/tests/support.py @@ -13,7 +13,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-callbacks.py b/lang/python/tests/t-callbacks.py index 25a1c23..3a210dd 100755 --- a/lang/python/tests/t-callbacks.py +++ b/lang/python/tests/t-callbacks.py @@ -15,17 +15,19 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals import os +import platform import gpg import support _ = support # to appease pyflakes. del absolute_import, print_function, unicode_literals +oops = None c = gpg.Context() c.set_pinentry_mode(gpg.constants.PINENTRY_MODE_LOOPBACK) @@ -99,6 +101,17 @@ Expire-Date: 2099-12-31 </GnupgKeyParms> """ +prams = """<GnupgKeyParms format="internal"> +Key-Type: RSA +Key-Length: 1024 +Name-Real: Joe Tester +Name-Comment: with stupid passphrase +Name-Email: joe+gpg@example.org +Passphrase: Crypt0R0cks +Expire-Date: 2037-12-31 +</GnupgKeyParms> +""" + messages = [] @@ -111,7 +124,10 @@ def progress_cb(what, typ, current, total, hook=None): c = gpg.Context() c.set_progress_cb(progress_cb, messages) -c.op_genkey(parms, None, None) +try: + c.op_genkey(parms, None, None) +except Exception as oops: + c.op_genkey(prams, None, None) assert len(messages) > 0 @@ -123,7 +139,10 @@ def progress_cb(what, typ, current, total, hook=None): c = gpg.Context() c.set_progress_cb(progress_cb, None) try: - c.op_genkey(parms, None, None) + try: + c.op_genkey(parms, None, None) + except Exception as oops: + c.op_genkey(prams, None, None) except Exception as e: assert e == myException else: @@ -139,6 +158,15 @@ alpha = c.get_key("A0FF4590BB6122EDEF6E3C542D727CC768697734", False) cookie = object() edit_cb_called = False +def oops_check(): + if oops is not None and platform.architecture()[0] != "64bit": + y2k38_msg = "System appears to be 32-bit and vulnerable to EOL in 2038." + elif oops is not None and platform.architecture()[0] == "64bit": + y2k38_msg = "System appears to be 64-bit, but may use 32-bit time." + else: + y2k38_msg = "System is 64-bit and/or not susceptible to 2038 EOL." + return y2k38_msg + def edit_cb(status, args, hook): global edit_cb_called diff --git a/lang/python/tests/t-data.py b/lang/python/tests/t-data.py index 006c11f..1c879f4 100755 --- a/lang/python/tests/t-data.py +++ b/lang/python/tests/t-data.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-decrypt-verify.py b/lang/python/tests/t-decrypt-verify.py index 991d18c..a0049a0 100755 --- a/lang/python/tests/t-decrypt-verify.py +++ b/lang/python/tests/t-decrypt-verify.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-decrypt.py b/lang/python/tests/t-decrypt.py index f2417c9..c72b51a 100755 --- a/lang/python/tests/t-decrypt.py +++ b/lang/python/tests/t-decrypt.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals @@ -38,7 +38,7 @@ support.print_data(sink) # Idiomatic interface. with gpg.Context() as c: - plaintext, _, _ = c.decrypt(open(support.make_filename("cipher-1.asc"))) + plaintext, _, _ = c.decrypt(open(support.make_filename("cipher-1.asc")), verify=False) assert len(plaintext) > 0 assert plaintext.find(b'Wenn Sie dies lesen k') >= 0, \ 'Plaintext not found' diff --git a/lang/python/tests/t-edit.py b/lang/python/tests/t-edit.py index cbc17d9..48a6887 100755 --- a/lang/python/tests/t-edit.py +++ b/lang/python/tests/t-edit.py @@ -16,7 +16,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-encrypt-large.py b/lang/python/tests/t-encrypt-large.py index 18576ac..f682e8b 100755 --- a/lang/python/tests/t-encrypt-large.py +++ b/lang/python/tests/t-encrypt-large.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-encrypt-sign.py b/lang/python/tests/t-encrypt-sign.py index 84d1abb..d32ed3a 100755 --- a/lang/python/tests/t-encrypt-sign.py +++ b/lang/python/tests/t-encrypt-sign.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-encrypt-sym.py b/lang/python/tests/t-encrypt-sym.py index 9b099fe..4389a7d 100755 --- a/lang/python/tests/t-encrypt-sym.py +++ b/lang/python/tests/t-encrypt-sym.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-encrypt.py b/lang/python/tests/t-encrypt.py index e702daa..0ee100d 100755 --- a/lang/python/tests/t-encrypt.py +++ b/lang/python/tests/t-encrypt.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-export.py b/lang/python/tests/t-export.py index 6d771dd..02474e9 100755 --- a/lang/python/tests/t-export.py +++ b/lang/python/tests/t-export.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-file-name.py b/lang/python/tests/t-file-name.py index d9c226f..6daedb1 100755 --- a/lang/python/tests/t-file-name.py +++ b/lang/python/tests/t-file-name.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-idiomatic.py b/lang/python/tests/t-idiomatic.py index 238bbf3..bc05e6c 100755 --- a/lang/python/tests/t-idiomatic.py +++ b/lang/python/tests/t-idiomatic.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals @@ -71,7 +71,7 @@ if sys.version_info[0] == 3: # hence we cannot use it as sink. # XXX: Python's io.BytesIo.truncate does not work as advertised. - # http://bugs.python.org/issue27261 + # https://bugs.python.org/issue27261 bio = io.BytesIO() bio.truncate(1) if len(bio.getvalue()) != 1: diff --git a/lang/python/tests/t-import.py b/lang/python/tests/t-import.py index 82d3a4e..c32f2d7 100755 --- a/lang/python/tests/t-import.py +++ b/lang/python/tests/t-import.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-keylist-from-data.py b/lang/python/tests/t-keylist-from-data.py index 4fd9ba0..fa6034a 100755 --- a/lang/python/tests/t-keylist-from-data.py +++ b/lang/python/tests/t-keylist-from-data.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-keylist.py b/lang/python/tests/t-keylist.py index 9cbada5..2aebe9a 100755 --- a/lang/python/tests/t-keylist.py +++ b/lang/python/tests/t-keylist.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-protocol-assuan.py b/lang/python/tests/t-protocol-assuan.py index c337c3b..e1491e0 100755 --- a/lang/python/tests/t-protocol-assuan.py +++ b/lang/python/tests/t-protocol-assuan.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-quick-key-creation.py b/lang/python/tests/t-quick-key-creation.py index b3303ff..ca3f32a 100755 --- a/lang/python/tests/t-quick-key-creation.py +++ b/lang/python/tests/t-quick-key-creation.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-quick-key-manipulation.py b/lang/python/tests/t-quick-key-manipulation.py index ade171e..73dce16 100755 --- a/lang/python/tests/t-quick-key-manipulation.py +++ b/lang/python/tests/t-quick-key-manipulation.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals @@ -82,7 +82,7 @@ with support.EphemeralContext() as ctx: # try to revoke a non-existent UID try: - ctx.key_revoke_uid(key, "i dont exist") + ctx.key_revoke_uid(key, "i don't exist") # IMHO this should fail. issue2963. # assert False, "Expected an error but got none" except gpg.errors.GpgError: diff --git a/lang/python/tests/t-quick-key-signing.py b/lang/python/tests/t-quick-key-signing.py index 6f9b8a7..8a5f8c3 100755 --- a/lang/python/tests/t-quick-key-signing.py +++ b/lang/python/tests/t-quick-key-signing.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-quick-subkey-creation.py b/lang/python/tests/t-quick-subkey-creation.py index cdbb71b..2a658ea 100755 --- a/lang/python/tests/t-quick-subkey-creation.py +++ b/lang/python/tests/t-quick-subkey-creation.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-sig-notation.py b/lang/python/tests/t-sig-notation.py index 5960f44..c3d2961 100755 --- a/lang/python/tests/t-sig-notation.py +++ b/lang/python/tests/t-sig-notation.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals @@ -32,7 +32,7 @@ expected_notations = { "preferred-email-encoding@pgp.com": ("pgpmime", gpg.constants.sig.notation.HUMAN_READABLE | gpg.constants.sig.notation.CRITICAL), - None: ("http://www.gnu.org/policy/", 0), + None: ("https://www.gnu.org/policy/", 0), } # GnuPG prior to 2.1.13 did not report the critical flag correctly. diff --git a/lang/python/tests/t-sign.py b/lang/python/tests/t-sign.py index 3ad05e8..5eefd4d 100755 --- a/lang/python/tests/t-sign.py +++ b/lang/python/tests/t-sign.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-signers.py b/lang/python/tests/t-signers.py index 119ab77..e24e5b5 100755 --- a/lang/python/tests/t-signers.py +++ b/lang/python/tests/t-signers.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-trustlist.py b/lang/python/tests/t-trustlist.py index ffa0b96..8794704 100755 --- a/lang/python/tests/t-trustlist.py +++ b/lang/python/tests/t-trustlist.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-verify.py b/lang/python/tests/t-verify.py index 70a6c1c..688e3ac 100755 --- a/lang/python/tests/t-verify.py +++ b/lang/python/tests/t-verify.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-wait.py b/lang/python/tests/t-wait.py index 907f450..8d05f25 100755 --- a/lang/python/tests/t-wait.py +++ b/lang/python/tests/t-wait.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function, unicode_literals diff --git a/lang/python/tests/t-wrapper.py b/lang/python/tests/t-wrapper.py index 020e71e..4990c5e 100755 --- a/lang/python/tests/t-wrapper.py +++ b/lang/python/tests/t-wrapper.py @@ -15,7 +15,7 @@ # Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, see <http://www.gnu.org/licenses/>. +# License along with this program; if not, see <https://www.gnu.org/licenses/>. import gpg import support |