Skip to content

Commit dddeb79

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 134d676 commit dddeb79

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/pytest_selenium/drivers/crossbrowsertesting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ def _video_html(video):
116116
f'<video controls="" play-pause-on-click="" poster="{video.get("image")}" style="border:1px solid #e6e6e6;'
117117
'float:right; height:240px; margin-left:5px; overflow:hidden; width:320px">'
118118
f'<source src="{video.get("video")}" type="video/mp4"></source>'
119-
'</video>'
119+
"</video>"
120120
)

src/pytest_selenium/drivers/saucelabs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def _video_html(session):
160160
'<param name="quality" value="high"/>'
161161
'<param name="bgcolor" value="#000000"/>'
162162
f'<param name="flashvars" value="{flash_vars.replace(" ", "")}"/>'
163-
'</object>'
164-
'</div>'
163+
"</object>"
164+
"</div>"
165165
)
166166

167167

src/pytest_selenium/drivers/testingbot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def _video_html(video_url, session):
111111
'height:240px; margin-left:5px; overflow:hidden; width:320px">'
112112
'<video controls="controls" height="100%" width="100%">'
113113
f'<source src="{video_url}" type="video/mp4"></source>'
114-
'</video>'
115-
'</div>'
114+
"</video>"
115+
"</div>"
116116
)
117117

118118

0 commit comments

Comments
 (0)