Closed Bug 1046266 Opened 11 years ago Closed 11 years ago

Exception thrown if no expected permissions results are available

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dminor, Assigned: dminor)

References

Details

If we get a timeout when determining the expected results for the permissions, an exception will be thrown when we attempt to run a diff for the next set of results: 17:29.57 LOG: MainThread ERROR No expected results for comparison 17:29.57 LOG: MainThread CRITICAL Traceback (most recent call last): File "cert.py", line 711, in cli _run(args, logger) File "cert.py", line 614, in _run results[permission] = diff_results(expected_webapi_results, webapi_results) File "cert.py", line 187, in diff_results a_set = set(a.keys()) AttributeError: 'NoneType' object has no attribute 'keys' Traceback (most recent call last): File "cert.py", line 717, in <module> cli() File "cert.py", line 711, in cli _run(args, logger) File "cert.py", line 614, in _run results[permission] = diff_results(expected_webapi_results, webapi_results) File "cert.py", line 187, in diff_results a_set = set(a.keys()) AttributeError: 'NoneType' object has no attribute 'keys'
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.