Fix full test report
This commit is contained in:
parent
3af4ffe36c
commit
e7de1cb8b0
1 changed files with 4 additions and 4 deletions
|
@ -128,14 +128,14 @@ if msg2['Precedence'] != 'list':
|
|||
exit(1)
|
||||
|
||||
gpg1 = subprocess.Popen(['/usr/bin/gpg2', '-d'],
|
||||
stdin=msg1.get_payload()[1].get_payload(decode=True),
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
gpg1o, _ = gpg2.communicate()
|
||||
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'],
|
||||
stdin=msg2.get_payload()[1].get_payload(decode=True),
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
gpg1o, _ = gpg2.communicate()
|
||||
gpg1o, _ = gpg2.communicate(msg2.get_payload()[1].get_payload(decode=True))
|
||||
print(f'Admin report message (decrypted):\n{gpg2o}')
|
||||
|
||||
# Test conflict statefile
|
||||
|
|
Loading…
Reference in a new issue