Add signing parameters to sitePublish

This commit is contained in:
shortcutme 2018-06-25 14:22:24 +02:00
parent 4a1c4df861
commit 9afc39d5f1
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
2 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
from src.Test.conftest import *
from src.Test.conftest import *

View File

@ -448,9 +448,12 @@ class UiWebsocket(object):
return inner_path
# Sign and publish content.json
def actionSitePublish(self, to, privatekey=None, inner_path="content.json", sign=True):
def actionSitePublish(self, to, privatekey=None, inner_path="content.json", sign=True, remove_missing_optional=False, update_changed_files=False):
if sign:
inner_path = self.actionSiteSign(to, privatekey, inner_path, response_ok=False)
inner_path = self.actionSiteSign(
to, privatekey, inner_path, response_ok=False,
remove_missing_optional=remove_missing_optional, update_changed_files=update_changed_files
)
if not inner_path:
return
# Publishing