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

Unified Diff: PRESUBMIT_unittest.py

Issue 69019: REmove one unneeded seam. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « PRESUBMIT.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT_unittest.py
===================================================================
--- PRESUBMIT_unittest.py (revision 13834)
+++ PRESUBMIT_unittest.py (working copy)
@@ -54,10 +54,11 @@
def MockReadFile(path):
self.failIf(path.endswith('notsource'))
return self.file_contents
- PRESUBMIT._ReadFile = MockReadFile
+ self._ReadFile = PRESUBMIT.ReadFile
+ PRESUBMIT.ReadFile = MockReadFile
def tearDown(self):
- PRESUBMIT._ReadFile = PRESUBMIT.ReadFile
+ PRESUBMIT.ReadFile = self._ReadFile
def testLocalChecks(self):
api = MockInputApi()
« no previous file with comments | « PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698