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

This commit is contained in:
scito authored and Roland Kurmann committed 2024-08-30 10:37:45 +02:00
1 parent b8c7979c78
commit 64980e71df
6 files changed
+172 -138

No files matched your search

+8 -1
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