diff options
| author | yangbill <yangbill@google.com> | 2020-05-18 05:56:13 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-18 05:56:13 +0000 |
| commit | a89961b91ee2da6dfbcd3222192273e888a37eb8 (patch) | |
| tree | fd73b0db62f3fc7477456c05422755c5d9a8821f | |
| parent | 7c4f0ac818cd8e6b0f1d4a39aef0e9fcfb53ed03 (diff) | |
| parent | c39d6526368891528bc928f543701e101fb747d3 (diff) | |
| download | platform_test_vts-testcase_security-a89961b91ee2da6dfbcd3222192273e888a37eb8.tar.gz platform_test_vts-testcase_security-a89961b91ee2da6dfbcd3222192273e888a37eb8.tar.bz2 platform_test_vts-testcase_security-a89961b91ee2da6dfbcd3222192273e888a37eb8.zip | |
Fix vts_treble_sys_prop_test failure. am: c39d652636
Change-Id: I33d2f9abc1d5c63864b7a34d1c344e064bcc8a13
| -rw-r--r-- | system_property/vts_treble_sys_prop_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system_property/vts_treble_sys_prop_test.py b/system_property/vts_treble_sys_prop_test.py index b28063a..29b7ba1 100644 --- a/system_property/vts_treble_sys_prop_test.py +++ b/system_property/vts_treble_sys_prop_test.py @@ -331,11 +331,11 @@ class VtsTrebleSysPropTest(unittest.TestCase): "Found %d property names in product property contexts", len(property_dict)) - violation_list = filter( + violation_list = list(filter( lambda x: any( x.startswith(prefix) for prefix in self._VENDOR_OR_ODM_NAMESPACES), - property_dict.keys()) + property_dict.keys())) self.assertEqual( len(violation_list), 0, ("product propertes (%s) have wrong namespace" % |
