Skip to content
Snippets Groups Projects
Commit b4f168be authored by Varac's avatar Varac
Browse files

Merge branch 'oas_behave-1-set-oas-specific-values-in-openappstack-repo' into 'master'

define before_tag function here instead of in oas_behave repo

See merge request openappstack/openappstack!189
parents 8e9c4820 0d342486
No related branches found
No related tags found
No related merge requests found
from oas_behave.environment import *
def before_tag(context, tag):
"""Define steps run before each tag."""
userdata = context.config.userdata
if tag == 'grafana':
context.grafana = get_values(userdata, 'grafana')
if tag == 'nextcloud':
context.nextcloud = get_values(userdata, 'nextcloud')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment