File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Enable testing
27
27
--------------
28
28
| **kwarg**: ---
29
29
| **CLI**: ``--mpl``
30
- | **INI**: ---
30
+ | **INI**: ``addopts = --mpl``
31
31
| Default: ``False``
32
32
33
33
To enable image comparison testing, pass ``--mpl `` when running pytest.
@@ -46,7 +46,7 @@ Enable baseline image generation
46
46
--------------------------------
47
47
| **kwarg**: ---
48
48
| **CLI**: ``--mpl-generate-path=<path>``
49
- | **INI**: ---
49
+ | **INI**: ``addopts = --mpl-generate-path=<path>``
50
50
| Default: ``None``
51
51
52
52
Baseline images will be generated and saved to the specified directory path, relative to where pytest was run.
@@ -63,7 +63,7 @@ Enable baseline hash generation
63
63
-------------------------------
64
64
| **kwarg**: ---
65
65
| **CLI**: ``--mpl-generate-hash-library=<path>``
66
- | **INI**: ---
66
+ | **INI**: ``addopts = --mpl-generate-hash-library=<path>``
67
67
| Default: ``None``
68
68
69
69
Baseline hashes will be generated and saved to the specified JSON file path, relative to where pytest was run.
@@ -116,7 +116,7 @@ Whether ``--mpl-baseline-path`` should also be relative to the test file
116
116
------------------------------------------------------------------------
117
117
| **kwarg**: ---
118
118
| **CLI**: ``--mpl-baseline-relative``
119
- | **INI**: ---
119
+ | **INI**: ``addopts = --mpl-baseline-relative``
120
120
| Default: ``False``
121
121
122
122
If this option is set, the baseline directory specified by ``--mpl-baseline-path `` will be interpreted as being relative to the test file.
You can’t perform that action at this time.
0 commit comments