Tests: keep the blocked-upload test from reaching real install reporting

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
saphidandClaude Opus 5.5 committed 2026-09-28 20:11:48 +10:00
1 parent 73eef14ecd
commit e67802f15d
1 file changed
+1
+1
View File
@@ -242,6 +242,7 @@ class UploadVersionsTest(unittest.TestCase):
handler.rfile = io.BytesIO(b'x')
with patch.object(frame_android, 'apk_info', return_value=dict(info)), \
patch.object(versions, 'alternatives', side_effect=AssertionError('lookup during upload')) as lookup, \
patch.object(frame_android, 'install_hooks', []), \
patch.object(server, 'ensure_master') as ssh:
if mode == 'apkinfo':
reply = handler.upload()