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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations_unittest.py

Issue 2256793002: Make docstrings more consistent using format-webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make indentation of final quote based on parse tree (indentation prior to docstring node) rather th… Created 4 years, 3 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/layout_tests/update_test_expectations_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations_unittest.py
index 7403f042cf2c24fa485ac9f25062ba0b66acdcaa..bb63f84cde25d79a4dc4300276522547c9ef6bf6 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations_unittest.py
@@ -30,8 +30,7 @@ class FakeBotTestExpectations(object):
class FakeBotTestExpectationsFactory(object):
def __init__(self):
- """
- The distinct results seen in at least one run of the test.
+ """The distinct results seen in at least one run of the test.
E.g. if the bot results for mytest.html are:
PASS PASS FAIL PASS TIMEOUT
then _all_results_by_builder would be:
@@ -804,8 +803,7 @@ class UpdateTestExpectationsTest(LoggingTestCase):
updated_expectations, test_expectations_before)
def test_harness_updates_file(self):
- """Tests that the call harness updates the TestExpectations file.
- """
+ """Tests that the call harness updates the TestExpectations file."""
self._define_builders({
"WebKit Linux": {
@@ -871,7 +869,8 @@ class UpdateTestExpectationsTest(LoggingTestCase):
"""Tests behavior when TestExpectations file doesn't exist.
Tests that a warning is outputted if the TestExpectations file
- doesn't exist."""
+ doesn't exist.
+ """
# Setup the mock host and port.
host = MockHost()

Powered by Google App Engine
This is Rietveld 408576698