summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/test/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/hosting/server/test/cache.py')
-rw-r--r--sca-cpp/trunk/hosting/server/test/cache.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-cpp/trunk/hosting/server/test/cache.py b/sca-cpp/trunk/hosting/server/test/cache.py
index 98fa174c00..54462ab6ff 100644
--- a/sca-cpp/trunk/hosting/server/test/cache.py
+++ b/sca-cpp/trunk/hosting/server/test/cache.py
@@ -31,6 +31,10 @@ class cache:
self.values[id] = value
return True
+ def patch(self, id, value):
+ self.values[id] = value
+ return True
+
def post(self, id):
return self.put(id)