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

Unified Diff: tools/crx_id/crx_id_unittest.py

Issue 12385037: Add HasPublicKey to crx_id. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rename from_test_path to from_file_path Created 7 years, 10 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
« no previous file with comments | « tools/crx_id/crx_id.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/crx_id/crx_id_unittest.py
===================================================================
--- tools/crx_id/crx_id_unittest.py (revision 185325)
+++ tools/crx_id/crx_id_unittest.py (working copy)
@@ -61,15 +61,15 @@
self.UNPACKED_HASH_BYTES)
# This uses the path to compute the AppID.
self.assertEqual(crx_id.GetCRXAppID('/tmp/temp_extension',
- from_test_path=True),
+ from_file_path=True),
'ajbbicncdkdlchpjplgjaglppbcbmaji')
# Test drive letter normalization.
kWinPathId = 'popnagglbbhjlobnnbcjnckakjoegnjp'
self.assertEqual(crx_id.GetCRXAppID('c:\temp_extension',
- from_test_path=True),
+ from_file_path=True),
kWinPathId)
self.assertEqual(crx_id.GetCRXAppID('C:\temp_extension',
- from_test_path=True),
+ from_file_path=True),
kWinPathId)
shutil.rmtree(temp_unpacked_crx)
« no previous file with comments | « tools/crx_id/crx_id.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698