import jsbridge import mozinfo import mozrunner import handlers from datetime import datetime from jsbridge.network import JSBridgeDisconnectError from manifestparser import TestManifest from mozrunner.utils import get_metadata_from_egg from optparse import OptionGroup from time import sleep # metadata package_metadata = get_metadata_from_egg('mozmill') js_module_template = 'Components.utils.import("resource://mozmill/%s")' js_module_frame = js_module_template % 'modules/frame.js' js_module_mozmill = js_module_template % 'driver/mozmill.js' basedir = os.path.abspath(os.path.dirname(__file__)) extension_path = os.path.join(basedir, 'extension') # defaults ADDONS = [extension_path, jsbridge.extension_path] JSBRIDGE_TIMEOUT = 60. class TestResults(object): """Class to accumulate test results and other information."""
import sys import tempfile from time import sleep import traceback from manifestparser import TestManifest import mozinfo import mozrunner from mozrunner.utils import get_metadata_from_egg import jsbridge from jsbridge.network import JSBridgeDisconnectError # metadata package_metadata = get_metadata_from_egg("mozmill") js_module_template = 'Components.utils.import("resource://mozmill/%s")' js_module_frame = js_module_template % "modules/frame.js" js_module_mozmill = js_module_template % "driver/mozmill.js" basedir = os.path.abspath(os.path.dirname(__file__)) extension_path = os.path.join(basedir, "extension") # defaults ADDONS = [extension_path, jsbridge.extension_path] JSBRIDGE_TIMEOUT = 60.0 class TestResults(object): """Class to accumulate test results and other information."""