Skip to content

Commit 6bd395d

Browse files
committed
refactor - inline data_fn in test_sizing x, y & z
1 parent 0d36a4e commit 6bd395d

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

components/dash-table/tests/selenium/test_sizing_x.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,5 @@
99

1010

1111
@pytest.mark.parametrize("props", basic_modes)
12-
@pytest.mark.parametrize(
13-
"data_fn",
14-
[generate_mock_data],
15-
)
16-
def test_szng004_on_focus(test, props, data_fn):
17-
on_focus(test, props, data_fn)
12+
def test_szng004_on_focus(test, props):
13+
on_focus(test, props, generate_mock_data)

components/dash-table/tests/selenium/test_sizing_y.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,5 @@
99

1010

1111
@pytest.mark.parametrize("props", basic_modes)
12-
@pytest.mark.parametrize(
13-
"data_fn",
14-
[generate_markdown_mock_data],
15-
)
16-
def test_szng005_on_focus(test, props, data_fn):
17-
on_focus(test, props, data_fn)
12+
def test_szng005_on_focus(test, props):
13+
on_focus(test, props, generate_markdown_mock_data)

components/dash-table/tests/selenium/test_sizing_z.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,5 @@
99

1010

1111
@pytest.mark.parametrize("props", basic_modes)
12-
@pytest.mark.parametrize(
13-
"data_fn",
14-
[generate_mixed_markdown_data],
15-
)
16-
def test_szng006_on_focus(test, props, data_fn):
17-
on_focus(test, props, data_fn)
12+
def test_szng006_on_focus(test, props):
13+
on_focus(test, props, generate_mixed_markdown_data)

0 commit comments

Comments
 (0)