Commit d8484775 by Anton Stupak

Remove unecessary assert.

parent 594a73d4
...@@ -61,10 +61,8 @@ def video_is_rendered(_step, mode): ...@@ -61,10 +61,8 @@ def video_is_rendered(_step, mode):
'html5': 'video', 'html5': 'video',
'youtube': 'iframe' 'youtube': 'iframe'
} }
if mode.lower() in modes: html_tag = modes[mode.lower()]
assert world.css_find('.video {0}'.format(modes[mode.lower()])).first assert world.css_find('.video {0}'.format(html_tag)).first
else:
assert False
@step('all sources are correct') @step('all sources are correct')
def all_sources_are_correct(_step): def all_sources_are_correct(_step):
......
Markdown is supported
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