7
7
import pytest
8
8
9
9
10
- @pytest .mark .end_to_end ()
10
+ @pytest .mark .end_to_end
11
11
def test_bake_project (cookies ):
12
12
major , minor = sys .version_info [:2 ]
13
13
python_version = f"{ major } .{ minor } "
@@ -25,7 +25,7 @@ def test_bake_project(cookies):
25
25
assert result .project_path .is_dir ()
26
26
27
27
28
- @pytest .mark .end_to_end ()
28
+ @pytest .mark .end_to_end
29
29
def test_remove_readthedocs (cookies ):
30
30
result = cookies .bake (extra_context = {"add_readthedocs" : "no" })
31
31
@@ -39,7 +39,7 @@ def test_remove_readthedocs(cookies):
39
39
assert "readthedocs" not in readme
40
40
41
41
42
- @pytest .mark .end_to_end ()
42
+ @pytest .mark .end_to_end
43
43
def test_remove_github_actions (cookies ):
44
44
result = cookies .bake (extra_context = {"add_github_actions" : "no" })
45
45
@@ -53,7 +53,7 @@ def test_remove_github_actions(cookies):
53
53
assert "github/workflow/status" not in readme
54
54
55
55
56
- @pytest .mark .end_to_end ()
56
+ @pytest .mark .end_to_end
57
57
def test_remove_tox (cookies ):
58
58
result = cookies .bake (extra_context = {"add_tox" : "no" })
59
59
@@ -67,7 +67,7 @@ def test_remove_tox(cookies):
67
67
assert not tox .exists ()
68
68
69
69
70
- @pytest .mark .end_to_end ()
70
+ @pytest .mark .end_to_end
71
71
def test_remove_license (cookies ):
72
72
result = cookies .bake (extra_context = {"open_source_license" : "Not open source" })
73
73
@@ -79,7 +79,7 @@ def test_remove_license(cookies):
79
79
assert not license_ .exists ()
80
80
81
81
82
- @pytest .mark .end_to_end ()
82
+ @pytest .mark .end_to_end
83
83
@pytest .mark .skipif (os .environ .get ("CI" ) is None , reason = "Run only in CI." )
84
84
def test_check_conda_environment_creation_and_run_all_checks (cookies ):
85
85
"""Test that the conda environment is created and pre-commit passes."""
0 commit comments