Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasraabe committed Dec 6, 2023
1 parent 2d7dd1f commit eecd42c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/test_dag_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
os.environ.get("CI") and sys.platform != "win32"
)


_GRAPH_LAYOUTS = ["neato", "dot", "fdp", "sfdp", "twopi", "circo"]


Expand All @@ -42,7 +43,7 @@

@pytest.mark.end_to_end()
@pytest.mark.skipif(not _TEST_SHOULD_RUN, reason="pygraphviz is required")
@pytest.mark.parametrize("layout", _PARAMETRIZED_LAYOUTS)
@pytest.mark.parametrize("layout", _GRAPH_LAYOUTS)
@pytest.mark.parametrize("format_", _TEST_FORMATS)
@pytest.mark.parametrize("rankdir", ["LR"])
def test_create_graph_via_cli(tmp_path, runner, format_, layout, rankdir):
Expand Down Expand Up @@ -78,7 +79,7 @@ def task_example(): pass

@pytest.mark.end_to_end()
@pytest.mark.skipif(not _TEST_SHOULD_RUN, reason="pygraphviz is required")
@pytest.mark.parametrize("layout", _PARAMETRIZED_LAYOUTS)
@pytest.mark.parametrize("layout", _GRAPH_LAYOUTS)
@pytest.mark.parametrize("format_", _TEST_FORMATS)
@pytest.mark.parametrize("rankdir", [_RankDirection.LR.value, _RankDirection.TB])
def test_create_graph_via_task(tmp_path, runner, format_, layout, rankdir):
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist = pytest
passenv = CI

[testenv]
passenv = CI
usedevelop = true
platform =
linux: linux
Expand Down

0 comments on commit eecd42c

Please sign in to comment.