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

Unified Diff: native_client_sdk/src/tools/zip_test.py

Issue 11428111: [NaCl SDK] Fix zip_test failure on mac buildbots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added correct ZipInfo Created 8 years, 1 month 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
« no previous file with comments | « native_client_sdk/src/tools/oshelpers.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tools/zip_test.py
diff --git a/native_client_sdk/src/tools/zip_test.py b/native_client_sdk/src/tools/zip_test.py
index 66f61bcd2192b5630d30ddaaeb73f45712120110..6c09cde4479b128216137937e6b0453758715a8c 100755
--- a/native_client_sdk/src/tools/zip_test.py
+++ b/native_client_sdk/src/tools/zip_test.py
@@ -104,6 +104,8 @@ class TestZip(unittest.TestCase):
self.RunZip([self.zipname, 'dir1'])
self.OpenZipFile()
self.assertEqual(len(self.zipfile.namelist()), 1)
+ self.assertRaises(KeyError, self.zipfile.getinfo, 'dir1')
+ self.zipfile.getinfo('dir1/')
def testAddRecursive(self):
os.mkdir(self.GetTempPath('dir1'))
« no previous file with comments | « native_client_sdk/src/tools/oshelpers.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698