Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

        def get_run_info(product, **kwargs):
    if product == "b2g":
        return B2GRunInfo(product, **kwargs)
    else:
        return RunInfo(product, **kwargs)
        


src/w/p/wptrunner-0.2.5/wptrunner/wptrunner.py   wptrunner(Download)
def list_test_groups(tests_root, metadata_root, test_types, product, **kwargs):
    run_info = wpttest.get_run_info(product, debug=False)
    test_loader = TestLoader(tests_root, metadata_root, TestFilter(), run_info)
 
    for item in sorted(test_loader.get_groups(test_types)):
        do_test_relative_imports(tests_root)
 
        run_info = wpttest.get_run_info(product, debug=False)
 
        logger.info("Using %i client processes" % processes)

src/w/p/wptrunner-0.2.5/wptrunner/reduce.py   wptrunner(Download)
 
        self.test_type = kwargs["test_types"][0]
        run_info = wpttest.get_run_info(kwargs["product"], debug=False)
        test_filter = wptrunner.TestFilter(include=kwargs["include"])
        self.test_loader = wptrunner.TestLoader(kwargs["tests_root"],