Skip to content

Commit b31d108

Browse files
authored
Merge pull request #5 from pytest-dev/fix-output-options
Fix --fixture-graph-output-dir and --fixture-graph-output-type
2 parents 49d2ee7 + 2c8d06e commit b31d108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_fixture_tools/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ def pytest_addoption(parser):
3737
action="store_true", dest="fixture_graph", default=False,
3838
help="create .dot fixture graph for each test")
3939
group.addoption('--fixture-graph-output-dir',
40-
action="store_true", dest="fixture_graph_output_dir", default="artifacts",
40+
action="store", dest="fixture_graph_output_dir", default="artifacts",
4141
help="select the location for the output of fixture graph. defaults to 'artifacts'")
4242
group.addoption('--fixture-graph-output-type',
43-
action="store_true", dest="fixture_graph_output_type", default="png",
43+
action="store", dest="fixture_graph_output_type", default="png",
4444
help="select the type of the output for the fixture graph. defaults to 'png'")
4545

4646

0 commit comments

Comments
 (0)