third_party/blink/tools/blinkpy/web_tests/layout_package/bot_test_expectations.py
def flakes_by_path(self, only_consider_very_flaky,
                       ignore_bot_expected_results=False, consider_only_flaky_runs=True):
        """Sets test expectations to bot results if there are at least two distinct results."""
        flakes_by_path = {}
        for test_path, entry in self.results_json.walk_results():
            flaky_types = self._flaky_types_in_results(entry,
                                                       only_consider_very_flaky,
                                                       ignore_bot_expected_results,
                                                       consider_only_flaky_runs)
            if len(flaky_types) <= 1:
                continue
            flakes_by_path[test_path] = flaky_types
        return flakes_by_path
Sets test expectations to bot results if there are at least two distinct results.
Sets test expectations to bot results if there are at least two distinct results.
Sets test expectations to bot results if there are at least two distinct results .
def flakes_by_path(self, only_consider_very_flaky,
                       ignore_bot_expected_results=False, consider_only_flaky_runs=True):
        flakes_by_path = {}
        for test_path, entry in self.results_json.walk_results():
            flaky_types = self._flaky_types_in_results(entry,
                                                       only_consider_very_flaky,
                                                       ignore_bot_expected_results,
                                                       consider_only_flaky_runs)
            if len(flaky_types) <= 1:
                continue
            flakes_by_path[test_path] = flaky_types
        return flakes_by_path
def flakes_by_path ( self , only_consider_very_flaky , ignore_bot_expected_results = False , consider_only_flaky_runs = True ) : flakes_by_path = { } for test_path , entry in self . results_json . walk_results ( ) : flaky_types = self . _flaky_types_in_results ( entry , only_consider_very_flaky , ignore_bot_expected_results , consider_only_flaky_runs ) if len ( flaky_types ) <= 1 : continue flakes_by_path [ test_path ] = flaky_types return flakes_by_path
Sets test expectations to bot results if there are at least two distinct results.
Sets test expectations to bot results if there are at least two distinct results .
"""Sets test expectations to bot results if there are at least two distinct results."""
self
only_consider_very_flaky
ignore_bot_expected_results
consider_only_flaky_runs