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

Unified Diff: client/tests/isolateserver_test.py

Issue 2853413002: Add unit test to clean_caches() (Closed)
Patch Set: . Created 3 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
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

Powered by Google App Engine
This is Rietveld 408576698