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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py

Issue 2329263002: Run format-webkitpy and fix long lines. (Closed)
Patch Set: 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/tool/commands/rebaseline_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
index dabbf38d6c149edd554e9198e15f082ad354aea6..84f283f29194753c8cfa2f8609627dbe8f77ccdd 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
@@ -102,6 +102,7 @@ class BaseTestCase(unittest.TestCase):
}
}))
+
class TestCopyExistingBaselinesInternal(BaseTestCase):
command_constructor = CopyExistingBaselinesInternal
@@ -316,8 +317,9 @@ class TestRebaselineTest(BaseTestCase):
def test_rebaseline_reftest(self):
self._write("userscripts/another-test.html", "test data")
self._write("userscripts/another-test-expected.html", "generic result")
- OutputCapture().assert_outputs(self, self.command._rebaseline_test_and_update_expectations, args=[self.options(suffixes='png')],
- expected_logs="Cannot rebaseline image result for reftest: userscripts/another-test.html\n")
+ OutputCapture().assert_outputs(
+ self, self.command._rebaseline_test_and_update_expectations, args=[self.options(suffixes='png')],
+ expected_logs="Cannot rebaseline image result for reftest: userscripts/another-test.html\n")
self.assertDictEqual(self.command._scm_changes, {'add': [], 'remove-lines': [], "delete": []})
def test_rebaseline_test_and_print_scm_changes(self):
@@ -651,7 +653,6 @@ class TestRebaseline(BaseTestCase):
])
-
class TestRebaselineExpectations(BaseTestCase):
command_constructor = RebaselineExpectations

Powered by Google App Engine
This is Rietveld 408576698