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

Unified Diff: client/tests/isolateserver_test.py

Issue 2853413002: Add unit test to clean_caches() (Closed)
Patch Set: os.path.relpath Created 3 years, 7 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 | « client/run_isolated.py ('k') | client/tests/run_isolated_smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/isolateserver_test.py
diff --git a/client/tests/isolateserver_test.py b/client/tests/isolateserver_test.py
index e4799a4d5904a32d85e80e65588ce95ae7bd01de..b92755e45f0f3fe0fdd75352fc7e5eb9ef79bb83 100755
--- a/client/tests/isolateserver_test.py
+++ b/client/tests/isolateserver_test.py
@@ -1336,7 +1336,8 @@ class DiskCacheTest(TestCase):
#cache.touch()
def get_cache(self):
- return isolateserver.DiskCache(self.tempdir, self._policies, self._algo)
+ return isolateserver.DiskCache(
+ self.tempdir, self._policies, self._algo, trim=True)
def to_hash(self, content):
return self._algo(content).hexdigest(), content
« no previous file with comments | « client/run_isolated.py ('k') | client/tests/run_isolated_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698