Skip to content
Snippets Groups Projects
Verified Commit c901d112 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

define before_tag function here instead of in oas_behave repo

parent 104875b9
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