858
862
# twisted tests to break because of gtk's initialize.
860
864
client = html5browser.Browser()
862
872
if page.return_code == page.CODE_FAIL:
863
873
self._yui_results = self.TIMEOUT
865
876
# Data['type'] is complete (an event).
866
877
# Data['results'] is a dict (type=report)
867
878
# with 1 or more dicts (type=testcase)
868
879
# with 1 for more dicts (type=test).
870
880
if report.get('type', None) != 'complete':
871
881
# Did not get a report back.
872
882
self._yui_results = self.MISSING_REPORT