Skip to content

Commit 619bcb1

Browse files
authored
Remove pytest markers (#75)
* Remove pytest markers * Drop marker coverage flags
1 parent a3f5796 commit 619bcb1

4 files changed

Lines changed: 0 additions & 35 deletions

File tree

codecov.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,5 @@ coverage:
99
project:
1010
default:
1111
threshold: 1%
12-
unit:
13-
threshold: 1%
14-
flags:
15-
- unit
16-
integration:
17-
threshold: 1%
18-
flags:
19-
- integration
20-
end_to_end:
21-
threshold: 1%
22-
flags:
23-
- end_to_end
2412

2513
ignore:

pyproject.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,4 @@ filterwarnings = [
8888
"ignore: Using or importing the ABCs from 'collections' instead of from",
8989
"ignore: The (parser|symbol) module is deprecated and will be removed in future",
9090
]
91-
markers = [
92-
"wip: Tests that are work-in-progress.",
93-
"unit: Flag for unit tests which target mainly a single function.",
94-
"integration: Flag for integration tests which may comprise of multiple unit tests.",
95-
"end_to_end: Flag for tests that cover the whole program.",
96-
]
9791
norecursedirs = [".idea"]

tests/test_cookie.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
_PYTHON_VERSION = ".".join(map(str, sys.version_info[:2]))
88

99

10-
@pytest.mark.end_to_end
1110
def test_bake_project(cookies):
1211
result = cookies.bake(
1312
extra_context={"project_slug": "helloworld", "python_version": _PYTHON_VERSION},
@@ -19,7 +18,6 @@ def test_bake_project(cookies):
1918
assert result.project_path.is_dir()
2019

2120

22-
@pytest.mark.end_to_end
2321
def test_remove_readthedocs(cookies):
2422
result = cookies.bake(
2523
extra_context={
@@ -38,7 +36,6 @@ def test_remove_readthedocs(cookies):
3836
assert "readthedocs" not in readme
3937

4038

41-
@pytest.mark.end_to_end
4239
def test_remove_github_actions(cookies):
4340
result = cookies.bake(
4441
extra_context={"add_github_actions": "no", "python_version": _PYTHON_VERSION},
@@ -54,7 +51,6 @@ def test_remove_github_actions(cookies):
5451
assert "github/workflow/status" not in readme
5552

5653

57-
@pytest.mark.end_to_end
5854
def test_remove_license(cookies):
5955
result = cookies.bake(
6056
extra_context={
@@ -71,7 +67,6 @@ def test_remove_license(cookies):
7167
assert not license_.exists()
7268

7369

74-
@pytest.mark.end_to_end
7570
@pytest.mark.skipif(os.environ.get("CI") is None, reason="Run only in CI.")
7671
def test_check_pixi_and_run_all_checks(cookies):
7772
"""Test pixi and pre-commit passes."""

{{cookiecutter.project_slug}}/codecov.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,5 @@ coverage:
99
project:
1010
default:
1111
threshold: 1%
12-
unit:
13-
threshold: 1%
14-
flags:
15-
- unit
16-
integration:
17-
threshold: 1%
18-
flags:
19-
- integration
20-
end_to_end:
21-
threshold: 1%
22-
flags:
23-
- end_to_end
2412

2513
ignore:

0 commit comments

Comments
 (0)