update to protobuf to 5.28.0, fix test and remove mypy ignore

This commit is contained in:
scito 2024-08-30 09:30:18 +02:00 committed by Roland Kurmann
parent b8c7979c78
commit 64980e71df
6 changed files with 172 additions and 138 deletions

View file

@ -849,7 +849,14 @@ data=XXXX
Exception: unpack requires a buffer of 4 bytes
'''
assert captured.err == first_expected_stderr or captured.err == second_expected_stderr
#
third_expected_stderr = '''
ERROR: Cannot decode otpauth-migration migration payload.
data=XXXX
Exception: Error parsing message with type 'MigrationPayload'
'''
assert captured.err == first_expected_stderr or captured.err == second_expected_stderr or captured.err == third_expected_stderr
assert captured.out == ''
assert e.value.code == 1
assert e.type == SystemExit