Fix full test report

This commit is contained in:
s3lph 2022-04-18 22:15:49 +02:00
parent e7de1cb8b0
commit a6dc846bda

View file

@ -127,12 +127,12 @@ if msg2['Precedence'] != 'list':
print(f'Expected "Precedence: list", got {msg2["Precedence"]}')
exit(1)
gpg1 = subprocess.Popen(['/usr/bin/gpg2', '-d'],
gpg1 = subprocess.Popen(['/usr/bin/gpg', '-d'],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
gpg1o, _ = gpg2.communicate(msg1.get_payload()[1].get_payload(decode=True))
print(f'Key conflict message (decrypted):\n{gpg1o}')
gpg2 = subprocess.Popen(['/usr/bin/gpg2', '-d'],
gpg2 = subprocess.Popen(['/usr/bin/gpg', '-d'],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
gpg1o, _ = gpg2.communicate(msg2.get_payload()[1].get_payload(decode=True))