Skip to content
Snippets Groups Projects
Commit 47ae99d2 authored by Mark's avatar Mark
Browse files

Remove variable redefinition

parent 24ff391b
No related branches found
No related tags found
1 merge request!5Service Integration
......@@ -13,10 +13,7 @@ def before_all(context):
@when(u'I open the URL "{url}"')
@given(u'I open the URL "{url}"')
def step_impl(context, url):
"""Open URL."""
if url in context.oauth:
url = context.oauth[url]
context.behave_driver.get(url)
context.behave_driver.get(context.oauth[url])
@when(u'I enter the "{attribute}" in the inputfield "{element}"')
def step_impl(context, attribute, element):
......
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