pytest-xprocess icon indicating copy to clipboard operation
pytest-xprocess copied to clipboard

`test_functional_workflow.py` vs. `test_functional_work_flow.py` in `tox.ini`

Open mtelka opened this issue 1 year ago • 0 comments

Describe the bug I believe there is a typo in the tox.ini file and this should be applied:

--- pytest-xprocess-1.0.2/tox.ini.orig
+++ pytest-xprocess-1.0.2/tox.ini
@@ -20,7 +20,7 @@
     coverage
 commands=
     coverage run -m pytest -v
-    coverage report --omit="*/.tox/*,*/test_functional_workflow.py" --fail-under=90
+    coverage report --omit="*/.tox/*,*/test_functional_work_flow.py" --fail-under=90
 usedevelop = True
 
 [testenv:linting]

To Reproduce Without the above patch I'm getting this line in the coverage report:

/tmp/pytest-of-marcel/pytest-15/test_functional_work_flow0/test_functional_work_flow.py                                                                18      0   100%

Expected behavior With the patch above I'm getting this line in the report instead:

test_functional_workflow.py                                                                                                                            10      0   100%

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: OpenIndiana
  • Python Version 3.9.19
  • pytest-xprocess version 1.0.2

Additional context

mtelka avatar Jul 25 '24 14:07 mtelka