Verified Commit c901d112 authored by Maarten de Waard's avatar Maarten de Waard
Browse files

define before_tag function here instead of in oas_behave repo

parent 104875b9
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')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment