Implement reload of config.yml with REST API call

and acceptance tests for that
This commit is contained in:
Alexander Kukushkin
2016-05-26 17:09:40 +02:00
parent 45cbc8ca70
commit 6700cd0aa6
9 changed files with 89 additions and 17 deletions
+5
View File
@@ -82,3 +82,8 @@ def check_http_response(context, url, value, timeout):
else:
assert False,\
"Value {0} is not present in response after {1} seconds".format(value, timeout)
@step('I add tag {tag:w} {value:w} to {pg_name:w} config')
def add_tag_to_config(context, tag, value, pg_name):
context.pctl.add_tag_to_config(pg_name, tag, value)