summaryrefslogtreecommitdiff
path: root/tests/testutil.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-03-16 08:51:59 +0100
committerMichał Górny <mgorny@gentoo.org>2019-03-16 08:51:59 +0100
commit2a3c4354ba3c3515a86b81782ab30a34a14faea2 (patch)
treebc2ea53e1dbbda6818efae0e30c93498562f850a /tests/testutil.py
parente7be5162d984d1b8d83113c539df9217105e7971 (diff)
downloadgemato-2a3c4354ba3c3515a86b81782ab30a34a14faea2.tar.gz
tests: Fix MockedWKDOpenPGPEnvironment._spawn_gpg() return types
Diffstat (limited to 'tests/testutil.py')
-rw-r--r--tests/testutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutil.py b/tests/testutil.py
index 3f7ac5f..ad9525d 100644
--- a/tests/testutil.py
+++ b/tests/testutil.py
@@ -150,7 +150,7 @@ class MockedWKDOpenPGPEnvironment(gemato.openpgp.OpenPGPEnvironment):
self)._spawn_gpg(['--import'], self.keys[args[0]])
else:
ret = 2
- return (ret, '', '')
+ return (ret, b'', b'')
return super(MockedWKDOpenPGPEnvironment, self)._spawn_gpg(
args, stdin)