Unreviewed, another test case adjustment after r129459. Python 2.7 doesn't
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2012 09:09:58 +0000 (09:09 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2012 09:09:58 +0000 (09:09 +0000)
seem to be a requirement yet so the assertDictEqual method is not yet available
on all builders. Assert that the empty dictionary length equals 0 instead.

* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ResultSummaryTest.test_interpret_test_failures):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py

index 2840f68..ee5fd50 100644 (file)
@@ -1,3 +1,12 @@
+2012-09-25  Zan Dobersek  <zandobersek@gmail.com>
+
+        Unreviewed, another test case adjustment after r129459. Python 2.7 doesn't
+        seem to be a requirement yet so the assertDictEqual method is not yet available
+        on all builders. Assert that the empty dictionary length equals 0 instead.
+
+        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
+        (ResultSummaryTest.test_interpret_test_failures):
+
 2012-09-24  Simon Hausmann  <simon.hausmann@digia.com>
 
         [Qt] Fix build with latest Qt 5
index 0984099..e94d133 100644 (file)
@@ -113,7 +113,7 @@ class ResultSummaryTest(unittest.TestCase):
 
         test_dict = interpret_test_failures(self.port, 'foo/reftest.html',
             [test_failures.FailureReftestMismatchDidNotOccur(self.port.abspath_for_test('foo/reftest-expected-mismatch.html'))])
-        self.assertDictEqual(test_dict, {})
+        self.assertEqual(len(test_dict), 0)
 
         test_dict = interpret_test_failures(self.port, 'foo/audio-test.html',
             [test_failures.FailureMissingAudio()])