Skip to content

Commit 71ca88a

Browse files
committed
lint & black
1 parent 9d25cfd commit 71ca88a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/integration/callbacks/test_global_dash_callback.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import dash
2-
from dash.dependencies import Input, Output
31
import dash_core_components as dcc
42
import dash_html_components as html
3+
import dash
4+
from dash.dependencies import Input, Output
55

66

77
def test_dash_callback_001(dash_duo):
@@ -19,15 +19,15 @@ def test_dash_callback_001(dash_duo):
1919
)
2020

2121
@dash.callback(Output("div-1", "children"), Input("input", "value"))
22-
def update_1(value):
22+
def update_1(value): # pylint: disable=unused-variable
2323
return f"Input 1 - {value}"
2424

2525
@dash.callback(Output("div-2", "children"), Input("input", "value"))
26-
def update_2(value):
26+
def update_2(value): # pylint: disable=unused-variable
2727
return f"Input 2 - {value}"
2828

2929
@app.callback(Output("div-3", "children"), Input("input", "value"))
30-
def update_3(value):
30+
def update_3(value): # pylint: disable=unused-variable
3131
return f"Input 3 - {value}"
3232

3333
app.clientside_callback(
@@ -47,10 +47,10 @@ def update_3(value):
4747
)
4848

4949
dash_duo.start_server(app)
50-
input = dash_duo.find_element("#input")
51-
input.send_keys("dash.callback")
50+
input_element = dash_duo.find_element("#input")
51+
input_element.send_keys("dash.callback")
5252
dash_duo.wait_for_text_to_equal("#div-1", "Input 1 - dash.callback")
5353
dash_duo.wait_for_text_to_equal("#div-2", "Input 2 - dash.callback")
5454
dash_duo.wait_for_text_to_equal("#div-3", "Input 3 - dash.callback")
5555
dash_duo.wait_for_text_to_equal("#div-4", "Input 4 - dash.callback")
56-
dash_duo.wait_for_text_to_equal("#div-5", "Input 5 - dash.callback")
56+
dash_duo.wait_for_text_to_equal("#div-5", "Input 5 - dash.callback")

0 commit comments

Comments
 (0)