Fixes import and adds test for PR 361

This commit is contained in:
tek
2023-07-10 22:55:22 +02:00
parent 1968a0fca2
commit e7270d6a07
4 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class TestDumpsysParsing:
res = parse_dumpsys_appops(data)
assert len(res) == 12
assert len(res) == 13
assert res[0]["package_name"] == "com.android.phone"
assert res[0]["uid"] == "0"
assert len(res[0]["permissions"]) == 1