Add additional logging to diagnose flaky testZipInIncognito test


Review URL: http://codereview.chromium.org/6369010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72221 0039d316-1c4b-4281-b951-d872f2087c98
parent 1250c00f
......@@ -142,7 +142,10 @@ class DownloadsTest(pyauto.PyUITest):
# Verify that download info exists in the correct profile.
self.assertEqual(len(incognito_downloads), 1)
self.assertTrue(self._EqualFileContents(file_path, downloaded_pkg))
self.assertTrue(self._EqualFileContents(file_path, downloaded_pkg),
msg='%s (size %d) and %s (size %d) do not match' % (
file_path, os.path.getsize(file_path),
downloaded_pkg, os.path.getsize(downloaded_pkg)))
self.assertTrue(self.IsDownloadShelfVisible(1))
def testSaveDangerousFile(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment