mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
api: repo copy handle package not found
and add tests for error proper handling.
This commit is contained in:
@@ -120,7 +120,7 @@ class APITest(BaseTest):
|
||||
raise Exception("task expected to fail")
|
||||
if expected_output:
|
||||
resp = self.get("/api/tasks/" + str(task.json()['ID']) + "/output")
|
||||
self.check_equal(resp.text, expected_output)
|
||||
self.check_equal(resp.json(), expected_output)
|
||||
|
||||
def put(self, uri, *args, **kwargs):
|
||||
if "json" in kwargs:
|
||||
|
||||
Reference in New Issue
Block a user