Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…mponents into carousel
  • Loading branch information
ann-marie-ward committed Jun 19, 2021
2 parents ae72965 + 74bc9ba commit 44c9ab9
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions docs/components_page/components/__tests__/test_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,16 @@ def test_r_snippets(dash_thread_server, dashr_server, config):
)
python_r_compare.append((py_snippet, r_snippet, f"{name}_{i}"))

assert_layouts_equal(
python_r_compare,
dashr_server,
R_WRAPPER,
R_PORT,
dash_thread_server,
env,
8050,
)
if python_r_compare:
assert_layouts_equal(
python_r_compare,
dashr_server,
R_WRAPPER,
R_PORT,
dash_thread_server,
env,
8050,
)


@pytest.mark.parametrize("config", PARAMS)
Expand All @@ -103,15 +104,16 @@ def test_jl_snippets(dash_thread_server, dashjl_server, config):
jl_snippet = rename_variable(jl_snippet_path, i, name)
python_jl_compare.append((py_snippet, jl_snippet, f"{name}_{i}"))

assert_layouts_equal(
python_jl_compare,
dashjl_server,
JL_WRAPPER,
JL_PORT,
dash_thread_server,
env,
8052,
)
if python_jl_compare:
assert_layouts_equal(
python_jl_compare,
dashjl_server,
JL_WRAPPER,
JL_PORT,
dash_thread_server,
env,
8052,
)


def assert_layouts_equal(
Expand Down

0 comments on commit 44c9ab9

Please sign in to comment.