android_packages_modules_Co.../staticlibs/testutils/host/python
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jimi Chen 7e922cf917 Fix lambda returning set instead of boolean
The `expect_with_retry` utility expects the lambda to return a
boolean value. However, the previous implementation wrapped the
comparison result `apf_utils.get_matched_packet_counts(...) == 1`
inside a set `{...}`.

This caused the lambda to return a set (e.g., `{True}` or `{False}`),
which is truthy if non-empty, but not the actual boolean result.
This commit removes the unnecessary set wrapper, ensuring the lambda
directly returns the boolean outcome of the packet count comparison

Flag: EXEMPT test only
Bug: 419427388
Test: atest CtsConnectivityMultiDevicesTestCases:ApfV6Test
Change-Id: Idd77d905e5be7933b3213df5cb772773286becfa
2025-07-22 08:47:03 +00:00
..
adb_utils.py Force device unroot in the multi-device setup 2025-06-04 14:27:06 +00:00
apf_test_base.py Fix lambda returning set instead of boolean 2025-07-22 08:47:03 +00:00
apf_utils.py Add util to get APF offload config 2025-07-08 04:10:41 +00:00
assert_utils.py Refactor: apply pyformat for coding style consistency 2025-05-28 12:44:57 +00:00
mdns_utils.py Format multidevice tests with pyformat 2025-06-04 14:27:06 +00:00
multi_devices_test_base.py Force device unroot in the multi-device setup 2025-06-04 14:27:06 +00:00
tether_utils.py Format multidevice tests with pyformat 2025-06-04 14:27:06 +00:00
wifip2p_utils.py Format multidevice tests with pyformat 2025-06-04 14:27:06 +00:00