Add db cleanup api

This commit is contained in:
Oliver Sauder authored and Lorenzo Bolla committed 2022-01-27 09:30:14 +01:00
1 parent f09a273ad7
commit b4efe6a810
4 files changed
+216

No files matched your search

+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)