Skip to content

Commit bb3d881

Browse files
committed
fixing for lint
1 parent 20dcd67 commit bb3d881

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/integration/async_tests/test_async_background_callbacks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import time
88
from tests.utils import test_async
99

10+
1011
def test_001ab_arbitrary(dash_duo, manager):
1112
if not test_async():
1213
return
@@ -15,7 +16,7 @@ def test_001ab_arbitrary(dash_duo, manager):
1516

1617
dash_duo.wait_for_text_to_equal("#output", "initial")
1718
# pause for sync
18-
time.sleep(.2)
19+
time.sleep(0.2)
1920
dash_duo.find_element("#start").click()
2021

2122
dash_duo.wait_for_text_to_equal("#secondary", "first")
@@ -48,7 +49,7 @@ def test_002ab_basic(dash_duo, manager):
4849
dash_duo.wait_for_text_to_equal("#output-1", "initial value", 15)
4950
input_ = dash_duo.find_element("#input")
5051
# pause for sync
51-
time.sleep(.2)
52+
time.sleep(0.2)
5253
dash_duo.clear_input(input_)
5354

5455
for key in "hello world":
@@ -59,4 +60,3 @@ def test_002ab_basic(dash_duo, manager):
5960

6061
assert not dash_duo.redux_state_is_loading
6162
assert dash_duo.get_logs() == []
62-

tests/integration/async_tests/test_async_callbacks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,9 @@ async def update_text(data):
444444
assert dash_duo.get_logs() == []
445445

446446

447-
def test_async_cbsc009_callback_using_unloaded_async_component_and_graph(dash_duo, *args):
447+
def test_async_cbsc009_callback_using_unloaded_async_component_and_graph(
448+
dash_duo, *args
449+
):
448450
if not test_async():
449451
return
450452
app = Dash(__name__)

0 commit comments

Comments
 (0)