Skip to content

Commit

Permalink
fix mypy errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DemiMarie committed Jan 28, 2023
1 parent 73c9769 commit bbde303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion splitgpg2/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def test_013_primary_key_not_exported(self) -> None:
Name-Email: user@localhost
%no-protection
%commit
""".format(self.key_uid)
"""
p = self.loop.run_until_complete(asyncio.create_subprocess_exec(
'gpg', '--quiet', '--batch', '--with-colons',
'--gen-key', '--homedir', self.gpg_dir.name, env=self.test_environ,
Expand All @@ -781,6 +781,7 @@ def test_013_primary_key_not_exported(self) -> None:
gpg_server.load_config(config['DEFAULT'])
self.assertEqual(gpg_server.source_keyring_dir, self.gpg_dir.name)
self.assertEqual(gpg_server.gnupghome, f'{self.gpg_dir.name}/test-dir/qubes-auto-keyring')
self.assertIsNot(gpg_server.gnupghome, None)
p = self.loop.run_until_complete(asyncio.create_subprocess_exec(
'gpg', '--quiet', '--batch', '--no-tty', '--with-colons',
'--homedir', gpg_server.gnupghome,
Expand Down

0 comments on commit bbde303

Please sign in to comment.