Add db cleanup api

This commit is contained in:
Oliver Sauder
2018-06-20 15:04:02 +02:00
committed by Lorenzo Bolla
parent f09a273ad7
commit b4efe6a810
4 changed files with 216 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from api_lib import APITest
class DbAPITestCleanup(APITest):
"""
POST /db/cleanup
"""
def check(self):
resp = self.post_task(
"/api/db/cleanup"
)
self.check_equal(resp.status_code, 200)