1818from tests .conftest import needs_stata
1919
2020
21- @pytest .mark .unit
2221@pytest .mark .parametrize (
2322 ("stata" , "expectation" ),
2423 [(executable , does_not_raise ()) for executable in STATA_COMMANDS ]
@@ -42,7 +41,6 @@ def test_pytask_execute_task_setup_raise_error(stata, platform, expectation):
4241
4342
4443@needs_stata
45- @pytest .mark .end_to_end
4644def test_run_do_file (runner , tmp_path ):
4745 task_source = """
4846 import pytask
@@ -72,7 +70,6 @@ def task_run_do_file():
7270
7371
7472@needs_stata
75- @pytest .mark .end_to_end
7673def test_run_do_file_w_task_decorator (runner , tmp_path ):
7774 task_source = """
7875 import pytask
@@ -102,7 +99,6 @@ def run_do_file():
10299 assert tmp_path .joinpath ("script.log" ).exists ()
103100
104101
105- @pytest .mark .end_to_end
106102def test_raise_error_if_stata_is_not_found (tmp_path , monkeypatch ):
107103 task_source = """
108104 from pytask import mark, task
@@ -128,7 +124,6 @@ def task_run_do_file():
128124
129125
130126@needs_stata
131- @pytest .mark .end_to_end
132127def test_run_do_file_w_wrong_cmd_option (runner , tmp_path ):
133128 """Apparently, Stata simply discards wrong cmd options."""
134129 task_source = """
@@ -154,7 +149,6 @@ def task_run_do_file():
154149
155150
156151@needs_stata
157- @pytest .mark .end_to_end
158152def test_run_do_file_by_passing_path (runner , tmp_path ):
159153 """Replicates example under "Command Line Arguments" in Readme."""
160154 task_source = """
@@ -180,7 +174,6 @@ def task_run_do_file():
180174
181175
182176@needs_stata
183- @pytest .mark .end_to_end
184177def test_run_do_file_fails_with_multiple_marks (runner , tmp_path ):
185178 task_source = """
186179 import pytask
@@ -201,7 +194,6 @@ def task_run_do_file():
201194
202195
203196@needs_stata
204- @pytest .mark .end_to_end
205197def test_with_task_without_path (runner , tmp_path ):
206198 task_source = """
207199 import pytask
0 commit comments