From 20301dd3d55c81e3655c367b4d74382cec499717 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 16 May 2020 17:11:25 +0200 Subject: openpgp: Default stdin='' in _spawn_gpg() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- tests/testutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testutil.py') diff --git a/tests/testutil.py b/tests/testutil.py index 572dad6..f95b274 100644 --- a/tests/testutil.py +++ b/tests/testutil.py @@ -141,7 +141,7 @@ class MockedWKDOpenPGPEnvironment(gemato.openpgp.OpenPGPEnvironment): def clone(self): return MockedWKDOpenPGPEnvironment(self.keys) - def _spawn_gpg(self, argv, stdin): + def _spawn_gpg(self, argv, stdin=''): if '--locate-keys' in argv: argv.remove('--locate-keys') assert len(argv) == 3 -- cgit v1.2.3