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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py

Issue 546133003: Reformat webkitpy.layout_tests w/ format-webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py b/Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py
index 55a9b2ce7e1dc91ebe03b16e326cf43499478c4d..37ce5358a6c79a38a8a694313b6a3753f6cc65e6 100644
--- a/Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/models/test_failures_unittest.py
@@ -32,6 +32,7 @@ from webkitpy.layout_tests.models.test_failures import *
class TestFailuresTest(unittest.TestCase):
+
def assert_loads(self, cls):
failure_obj = cls()
s = failure_obj.dumps()
@@ -45,6 +46,7 @@ class TestFailuresTest(unittest.TestCase):
def test_unknown_failure_type(self):
class UnknownFailure(TestFailure):
+
def message(self):
return ''
@@ -65,7 +67,7 @@ class TestFailuresTest(unittest.TestCase):
crash_set = set([FailureCrash(), FailureCrash()])
self.assertEqual(len(crash_set), 1)
# The hash happens to be the name of the class, but sets still work:
- crash_set = set([FailureCrash(), "FailureCrash"])
+ crash_set = set([FailureCrash(), 'FailureCrash'])
self.assertEqual(len(crash_set), 2)
def test_crashes(self):
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/models/test_failures.py ('k') | Tools/Scripts/webkitpy/layout_tests/models/test_input.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698