Skip to content

Commit 6154068

Browse files
committed
Bug 1864302 [wpt PR 43096] - infra: address flake8 findings in webdriver/, a=testonly
Automatic update from web-platform-tests infra: address flake8 findings in webdriver/ Rename duplicate test to test_params_pointer_action_move_coordinate_missing Bug: web-platform-tests/rfcs#171 Cmdline: flake8 --append-config=tools/flake8.ini webdriver/tests/bidi -- wpt-commits: 605a1999160c97f971fce384dac5cddd4ca0b2d1 wpt-pr: 43096 UltraBlame original commit: 98ddfdc5d64d44b5c70b46671958a3cd76fa988a
1 parent 96a4d0e commit 6154068

File tree

57 files changed

+476
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+476
-440
lines changed

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/capture_screenshot/clip.py

-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636

3737
get_element_coordinates
3838

39-
get_page_y_offset
40-
4139
get_physical_element_dimensions
4240

4341
get_reference_screenshot
@@ -1135,7 +1133,6 @@
11351133

11361134
function_declaration
11371135
=
1138-
f
11391136
"
11401137
"
11411138
"

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/context_destroyed/context_destroyed.py

-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@
363363
=
364364
inline
365365
(
366-
f
367366
"
368367
<
369368
div

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/create/reference_context.py

-10
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55
.
66
import
77
assert_browsing_context
8-
from
9-
webdriver
10-
.
11-
bidi
12-
.
13-
modules
14-
.
15-
script
16-
import
17-
ContextTarget
188
pytestmark
199
=
2010
pytest

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/fragment_navigated/fragment_navigated.py

-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
.
3131
import
3232
any_int
33-
any_string
3433
recursive_compare
3534
int_interval
3635
from
@@ -559,7 +558,6 @@
559558
foo
560559
'
561560
)
562-
;
563561

564562
result
565563
=
@@ -723,7 +721,6 @@
723721
#
724722
foo
725723
'
726-
;
727724

728725
await
729726
bidi_session

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/data_url.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
-
3636
8
3737
"
38-
isBase64
38+
is_base64
3939
=
4040
False
4141
)
@@ -62,7 +62,7 @@
6262
"
6363

6464
elif
65-
isBase64
65+
is_base64
6666
:
6767

6868
encoding

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/navigation_started/navigation_started.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -2019,8 +2019,6 @@
20192019
PAGE_REDIRECTED_HTML
20202020
)
20212021

2022-
result
2023-
=
20242022
await
20252023
bidi_session
20262024
.
@@ -2146,6 +2144,10 @@
21462144

21472145
}
21482146

2147+
)
2148+
2149+
remove_listener
2150+
(
21492151
)
21502152
async
21512153
def
@@ -2238,8 +2240,6 @@
22382240

22392241
)
22402242

2241-
result
2242-
=
22432243
await
22442244
bidi_session
22452245
.
@@ -2307,6 +2307,10 @@
23072307

23082308
}
23092309

2310+
)
2311+
2312+
remove_listener
2313+
(
23102314
)
23112315
async
23122316
def

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/print/margin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -797,13 +797,13 @@
797797
(
798798
value
799799
{
800-
800+
801801
"
802802
width
803803
"
804804
:
805805
expected_width
806-
806+
807807
"
808808
height
809809
"

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py

+9-6
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
.
248248
set_viewport
249249
(
250-
250+
251251
context
252252
=
253253
new_tab
@@ -256,10 +256,11 @@
256256
context
257257
"
258258
]
259-
259+
260260
viewport
261261
=
262262
test_viewport
263+
263264
)
264265

265266
assert
@@ -280,7 +281,7 @@
280281
.
281282
set_viewport
282283
(
283-
284+
284285
context
285286
=
286287
new_tab
@@ -289,10 +290,11 @@
289290
context
290291
"
291292
]
292-
293+
293294
viewport
294295
=
295296
None
297+
296298
)
297299

298300
assert
@@ -362,7 +364,7 @@
362364
.
363365
set_viewport
364366
(
365-
367+
366368
context
367369
=
368370
new_tab
@@ -371,10 +373,11 @@
371373
context
372374
"
373375
]
374-
376+
375377
viewport
376378
=
377379
test_viewport
380+
378381
)
379382

380383
assert

testing/web-platform/tests/webdriver/tests/bidi/browsing_context/user_prompt_closed/user_prompt_closed.py

-2
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,6 @@
10121012
=
10131013
inline
10141014
(
1015-
f
10161015
"
10171016
<
10181017
script
@@ -1132,7 +1131,6 @@
11321131
=
11331132
inline
11341133
(
1135-
f
11361134
"
11371135
<
11381136
script

0 commit comments

Comments
 (0)