[elbe-devel] [PATCH 08/11] daemons: soap: esoap: Add enable coverage for new_project()

Olivier Dion dion at linutronix.de
Mon Aug 17 18:20:17 CEST 2020


Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/daemons/soap/esoap.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/elbepack/daemons/soap/esoap.py b/elbepack/daemons/soap/esoap.py
index 6a3a224b..2242ef35 100644
--- a/elbepack/daemons/soap/esoap.py
+++ b/elbepack/daemons/soap/esoap.py
@@ -370,11 +370,11 @@ class ESoap (ServiceBase):
 
         return prjid
 
-    @rpc(_returns=String)
+    @rpc(Boolean, _returns=String)
     @authenticated_uid
     @soap_faults
-    def new_project(self, uid):
-        return self.app.pm.new_project(uid)
+    def new_project(self, uid, en_coverage):
+        return self.app.pm.new_project(uid, en_coverage)
 
     @rpc(String, _returns=String)
     @authenticated_uid
-- 
2.28.0



More information about the elbe-devel mailing list