diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-16 17:11:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-16 17:11:25 +0200 |
commit | 20301dd3d55c81e3655c367b4d74382cec499717 (patch) | |
tree | e657ef5a886746417ba9dbed324b31f1b797a2ba /tests/testutil.py | |
parent | 73f9a2f9fb0990b964dc8fadf32ee2b76c30419c (diff) | |
download | gemato-20301dd3d55c81e3655c367b4d74382cec499717.tar.gz |
openpgp: Default stdin='' in _spawn_gpg()
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests/testutil.py')
-rw-r--r-- | tests/testutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |