mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-14 14:47:19 +00:00
System tests for API. #116
This commit is contained in:
1 parent
01b1f23d6b
commit
ebc223a895
4 files changed
+52
-1
No files matched your search
@@ -41,6 +41,9 @@ class APITest(BaseTest):
|
||||
kwargs["headers"]["Content-Type"] = "application/json"
|
||||
return requests.post("http://%s%s" % (self.base_url, uri), *args, **kwargs)
|
||||
|
||||
def delete(self, uri, *args, **kwargs):
|
||||
return requests.delete("http://%s%s" % (self.base_url, uri), *args, **kwargs)
|
||||
|
||||
@classmethod
|
||||
def shutdown_class(cls):
|
||||
if cls.aptly_server is not None:
|
||||
|
||||
Reference in new issue
Block a user