Update system tests for new publishing APIs. #116

This commit is contained in:
Andrey Smirnov
2015-03-01 19:56:47 +03:00
parent 2f1afa54c2
commit 233ad2528f
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -186,8 +186,9 @@ class SnapshotsAPITestCreateDelete(APITest):
self.check_equal(self.get("/api/snapshots/" + snap1).status_code, 404)
# deleting published snapshot
resp = self.post("/api/publish/./snapshots",
resp = self.post("/api/publish",
json={
"SourceKind": "snapshot",
"Distribution": "trusty",
"Architectures": ["i386"],
"Sources": [{"Name": snap2}],