From a29453805ca2f90b3f189427aaab12041e2ea145 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 1 Mar 2016 12:34:59 +0300 Subject: [PATCH] Publish under root using `:.` explicit prefix. #339 --- system/t12_api/publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/t12_api/publish.py b/system/t12_api/publish.py index e161ed53..cc178232 100644 --- a/system/t12_api/publish.py +++ b/system/t12_api/publish.py @@ -61,7 +61,7 @@ class PublishAPITestRepo(APITest): # publishing under root, custom distribution, architectures distribution = self.random_name() - resp = self.post("/api/publish", + resp = self.post("/api/publish/:.", json={ "SourceKind": "local", "Sources": [{"Name": repo_name}],