Merge branch 'main' into avm99963-monorail
Merged commit 3779da353b36d43cf778e7d4f468097714dd4540
GitOrigin-RevId: 6451a5c6b75afb0fd1f37b3f14521148d0722ea8
diff --git a/services/test/cachemanager_svc_test.py b/services/test/cachemanager_svc_test.py
index 20956e0..b84d33e 100644
--- a/services/test/cachemanager_svc_test.py
+++ b/services/test/cachemanager_svc_test.py
@@ -10,7 +10,10 @@
import unittest
-import mox
+try:
+ from mox3 import mox
+except ImportError:
+ import mox
from framework import sql
from services import cachemanager_svc
@@ -168,8 +171,7 @@
sql.SQLTableManager)
self.services = service_manager.Services(
cache_manager=self.cache_manager)
- self.servlet = cachemanager_svc.RamCacheConsolidate(
- 'req', 'res', services=self.services)
+ self.servlet = cachemanager_svc.RamCacheConsolidate(services=self.services)
def testHandleRequest_NothingToDo(self):
mr = testing_helpers.MakeMonorailRequest()