Skip to content
Myr

:white_check_mark: Fix test coverage handling

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by Sebastián Ramírez · parent e02475a · Browse files · 9 files+17 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

9 files+17 added−6 removed

  • tests:+6 added−6 removed
  • other:+11 added−0 removed

9 files+17 added−6 removed

modified:tests/test_tutorial/test_first_steps/test_tutorial001.py+1 added-1 removed
15 unmodified lines
161718def test_script():19 result = subprocess.run(20 ["coverage", "run", "--parallel-mode", mod.__file__, "--help"],20 ["coverage", "run", mod.__file__, "--help"],21 stdout=subprocess.PIPE,22 stderr=subprocess.PIPE,23 encoding="utf-8",24 )
1 unmodified line
modified:tests/test_tutorial/test_first_steps/test_tutorial002.py+1 added-1 removed
23 unmodified lines
242526def test_script():27 result = subprocess.run(28 ["coverage", "run", "--parallel-mode", mod.__file__, "--help"],28 ["coverage", "run", mod.__file__, "--help"],29 stdout=subprocess.PIPE,30 stderr=subprocess.PIPE,31 encoding="utf-8",32 )
1 unmodified line
modified:tests/test_tutorial/test_first_steps/test_tutorial003.py+1 added-1 removed
23 unmodified lines
242526def test_script():27 result = subprocess.run(28 ["coverage", "run", "--parallel-mode", mod.__file__, "--help"],28 ["coverage", "run", mod.__file__, "--help"],29 stdout=subprocess.PIPE,30 stderr=subprocess.PIPE,31 encoding="utf-8",32 )
1 unmodified line
modified:tests/test_tutorial/test_first_steps/test_tutorial004.py+1 added-1 removed
35 unmodified lines
363738def test_script():39 result = subprocess.run(40 ["coverage", "run", "--parallel-mode", mod.__file__, "--help"],40 ["coverage", "run", mod.__file__, "--help"],41 stdout=subprocess.PIPE,42 stderr=subprocess.PIPE,43 encoding="utf-8",44 )
1 unmodified line
modified:tests/test_tutorial/test_first_steps/test_tutorial005.py+1 added-1 removed
42 unmodified lines
434445def test_script():46 result = subprocess.run(47 ["coverage", "run", "--parallel-mode", mod.__file__, "--help"],47 ["coverage", "run", mod.__file__, "--help"],48 stdout=subprocess.PIPE,49 stderr=subprocess.PIPE,50 encoding="utf-8",51 )
1 unmodified line
modified:tests/test_tutorial/test_first_steps/test_tutorial006.py+1 added-1 removed
42 unmodified lines
434445def test_script():46 result = subprocess.run(47 ["coverage", "run", "--parallel-mode", mod.__file__, "--help"],47 ["coverage", "run", mod.__file__, "--help"],48 stdout=subprocess.PIPE,49 stderr=subprocess.PIPE,50 encoding="utf-8",51 )
1 unmodified line
added:.coveragerc+8 added
1[run]23source =4 typer5 tests6 docs/src78parallel = True
modified:.gitignore+2 added
5 unmodified lines
6dist7.mypy_cache8.idea9site10.coverage11htmlcov
modified:pyproject.toml+1 added
37 unmodified lines
38[tool.flit.metadata.requires-extra]39test = [40 "pytest >=4.0.0",41 "pytest-cov",42 "coverage",43 "mypy",44 "black",45 "isort"46]
9 unmodified lines