mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-02 04:50:49 +00:00
Add db cleanup api
This commit is contained in:
committed by
Lorenzo Bolla
parent
f09a273ad7
commit
b4efe6a810
@@ -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)
|
||||
Reference in New Issue
Block a user