| 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):
|
|
|