Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sacha van Geffen
openappstack
Commits
c901d112
Verified
Commit
c901d112
authored
Dec 17, 2019
by
Maarten de Waard
👼
Browse files
define before_tag function here instead of in oas_behave repo
parent
104875b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behave/features/environment.py
View file @
c901d112
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'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment