77import pytest
88
99
10- @pytest .mark .end_to_end ()
10+ @pytest .mark .end_to_end
1111def test_bake_project (cookies ):
1212 major , minor = sys .version_info [:2 ]
1313 python_version = f"{ major } .{ minor } "
@@ -25,7 +25,7 @@ def test_bake_project(cookies):
2525 assert result .project_path .is_dir ()
2626
2727
28- @pytest .mark .end_to_end ()
28+ @pytest .mark .end_to_end
2929def test_remove_readthedocs (cookies ):
3030 result = cookies .bake (extra_context = {"add_readthedocs" : "no" })
3131
@@ -39,7 +39,7 @@ def test_remove_readthedocs(cookies):
3939 assert "readthedocs" not in readme
4040
4141
42- @pytest .mark .end_to_end ()
42+ @pytest .mark .end_to_end
4343def test_remove_github_actions (cookies ):
4444 result = cookies .bake (extra_context = {"add_github_actions" : "no" })
4545
@@ -53,7 +53,7 @@ def test_remove_github_actions(cookies):
5353 assert "github/workflow/status" not in readme
5454
5555
56- @pytest .mark .end_to_end ()
56+ @pytest .mark .end_to_end
5757def test_remove_tox (cookies ):
5858 result = cookies .bake (extra_context = {"add_tox" : "no" })
5959
@@ -67,7 +67,7 @@ def test_remove_tox(cookies):
6767 assert not tox .exists ()
6868
6969
70- @pytest .mark .end_to_end ()
70+ @pytest .mark .end_to_end
7171def test_remove_license (cookies ):
7272 result = cookies .bake (extra_context = {"open_source_license" : "Not open source" })
7373
@@ -79,7 +79,7 @@ def test_remove_license(cookies):
7979 assert not license_ .exists ()
8080
8181
82- @pytest .mark .end_to_end ()
82+ @pytest .mark .end_to_end
8383@pytest .mark .skipif (os .environ .get ("CI" ) is None , reason = "Run only in CI." )
8484def test_check_conda_environment_creation_and_run_all_checks (cookies ):
8585 """Test that the conda environment is created and pre-commit passes."""
0 commit comments