Skip to content

Commit ada7f35

Browse files
committed
style: apply black formatting and fix duplicate test name
1 parent bebfe63 commit ada7f35

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

components/dash-core-components/tests/integration/loading/test_loading_component.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def updateDiv(n_clicks):
417417

418418
# update multiple props of same component, only targeted id/prop triggers spinner
419419
# test that target_components id can be a dict id
420-
def test_ldcp011_loading_component_target_components(dash_dcc):
420+
def test_ldcp010_loading_component_target_components(dash_dcc):
421421
lock = Lock()
422422

423423
app = Dash(__name__)
@@ -864,12 +864,8 @@ def test_ldcp019_loading_component_pattern_matching(dash_dcc):
864864
)
865865

866866
@app.callback(
867-
Output(
868-
{"type": "div-1", "index": ALL, "name": MATCH}, "children"
869-
),
870-
Input(
871-
{"type": "root", "index": ALL, "name": MATCH}, "n_clicks"
872-
),
867+
Output({"type": "div-1", "index": ALL, "name": MATCH}, "children"),
868+
Input({"type": "root", "index": ALL, "name": MATCH}, "n_clicks"),
873869
)
874870
def updateDiv(n_clicks):
875871
if n_clicks == [1]:

0 commit comments

Comments
 (0)