Skip to content

Commit 3bc85d3

Browse files
committed
fixing for lint
1 parent 8862956 commit 3bc85d3

File tree

1 file changed

+55
-33
lines changed

1 file changed

+55
-33
lines changed

tests/integration/test_patch.py

Lines changed: 55 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ def get_output():
238238
_input.send_keys("Extend")
239239
dash_duo.find_element("#extend-btn").click()
240240

241-
until(lambda: get_output()["array"] == ["Prepend", "initial", "Append", "Extend"], 2)
241+
until(
242+
lambda: get_output()["array"] == ["Prepend", "initial", "Append", "Extend"], 2
243+
)
242244

243245
undef = object()
244246
until(lambda: get_output().get("merge", undef) is undef, 2)
@@ -259,51 +261,71 @@ def get_output():
259261
_input.send_keys("Inserted")
260262
dash_duo.find_element("#insert-btn").click()
261263

262-
until(lambda: get_output().get("array") == [
263-
"Prepend",
264-
"Inserted",
265-
"initial",
266-
"Append",
267-
"Extend",
268-
], 2)
264+
until(
265+
lambda: get_output().get("array")
266+
== [
267+
"Prepend",
268+
"Inserted",
269+
"initial",
270+
"Append",
271+
"Extend",
272+
],
273+
2,
274+
)
269275

270276
_input.send_keys(" with negative index")
271277
_input = dash_duo.find_element("#insert-index")
272278
_input.send_keys(Keys.BACKSPACE)
273279
_input.send_keys("-1")
274280
dash_duo.find_element("#insert-btn").click()
275281

276-
until(lambda: get_output().get("array") == [
277-
"Prepend",
278-
"Inserted",
279-
"initial",
280-
"Append",
281-
"Inserted with negative index",
282-
"Extend",
283-
], 2)
282+
until(
283+
lambda: get_output().get("array")
284+
== [
285+
"Prepend",
286+
"Inserted",
287+
"initial",
288+
"Append",
289+
"Inserted with negative index",
290+
"Extend",
291+
],
292+
2,
293+
)
284294

285295
dash_duo.find_element("#delete-index").click()
286-
until(lambda: get_output().get("array") == [
287-
"Prepend",
288-
"initial",
289-
"Append",
290-
"Extend",
291-
], 2)
296+
until(
297+
lambda: get_output().get("array")
298+
== [
299+
"Prepend",
300+
"initial",
301+
"Append",
302+
"Extend",
303+
],
304+
2,
305+
)
292306

293307
dash_duo.find_element("#reverse-btn").click()
294-
until(lambda: get_output().get("array") == [
295-
"Extend",
296-
"Append",
297-
"initial",
298-
"Prepend",
299-
], 2)
308+
until(
309+
lambda: get_output().get("array")
310+
== [
311+
"Extend",
312+
"Append",
313+
"initial",
314+
"Prepend",
315+
],
316+
2,
317+
)
300318

301319
dash_duo.find_element("#remove-btn").click()
302-
until(lambda: get_output().get("array") == [
303-
"Extend",
304-
"Append",
305-
"Prepend",
306-
], 2)
320+
until(
321+
lambda: get_output().get("array")
322+
== [
323+
"Extend",
324+
"Append",
325+
"Prepend",
326+
],
327+
2,
328+
)
307329

308330
dash_duo.find_element("#clear-btn").click()
309331
until(lambda: get_output()["array"] == [], 2)

0 commit comments

Comments
 (0)