Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_mock.py

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_mock.py
index c8f31b4b15a726b0be0fe81ff33a7ea04e62fb89..fb4ed235c1199115b89e12e506bc9ac46f11d797 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_mock.py
@@ -35,12 +35,15 @@ _log = logging.getLogger(__name__)
class MockBuild(object):
+
def __init__(self, build_number, revision, is_green):
self._number = build_number
self._revision = revision
self._is_green = is_green
+
class MockBuilder(object):
+
def __init__(self, name):
self._name = name
@@ -62,7 +65,9 @@ class MockBuilder(object):
def latest_layout_test_results(self):
return LayoutTestResults.results_from_string(layouttestresults_unittest.LayoutTestResultsTest.example_full_results_json)
+
class MockBuildBot(object):
+
def __init__(self):
self._mock_builder1_status = {
"name": "Builder1",

Powered by Google App Engine
This is Rietveld 408576698