1818from tests .conftest import skip_on_github_actions_with_win
1919
2020
21- @pytest .mark .unit
2221def test_pytask_execute_task_setup (monkeypatch ):
2322 """Make sure that the task setup raises errors."""
2423 # Act like latexmk is installed since we do not test this.
@@ -38,7 +37,6 @@ def test_pytask_execute_task_setup(monkeypatch):
3837
3938@needs_latexmk
4039@skip_on_github_actions_with_win
41- @pytest .mark .end_to_end
4240def test_compile_latex_document (runner , tmp_path ):
4341 """Test simple compilation."""
4442 task_source = """
@@ -64,7 +62,6 @@ def task_compile_document():
6462
6563@needs_latexmk
6664@skip_on_github_actions_with_win
67- @pytest .mark .end_to_end
6865def test_compile_latex_document_w_relative (runner , tmp_path ):
6966 """Test simple compilation."""
7067 task_source = f"""
@@ -96,7 +93,6 @@ def task_compile_document():
9693
9794@needs_latexmk
9895@skip_on_github_actions_with_win
99- @pytest .mark .end_to_end
10096def test_compile_latex_document_to_different_name (runner , tmp_path ):
10197 """Compile a LaTeX document where source and output name differ."""
10298 task_source = """
@@ -123,7 +119,6 @@ def task_compile_document():
123119
124120@needs_latexmk
125121@skip_on_github_actions_with_win
126- @pytest .mark .end_to_end
127122def test_compile_w_bibliography (runner , tmp_path ):
128123 """Compile a LaTeX document with bibliography."""
129124 task_source = """
@@ -162,7 +157,6 @@ def task_compile_document():
162157
163158
164159@skip_on_github_actions_with_win
165- @pytest .mark .end_to_end
166160def test_raise_error_if_latexmk_is_not_found (tmp_path , monkeypatch ):
167161 task_source = """
168162 from pytask import mark
@@ -197,7 +191,6 @@ def task_compile_document():
197191
198192
199193@skip_on_github_actions_with_win
200- @pytest .mark .end_to_end
201194def test_skip_even_if_latexmk_is_not_found (tmp_path , monkeypatch ):
202195 task_source = """
203196 from pytask import mark
@@ -234,7 +227,6 @@ def task_compile_document():
234227
235228@needs_latexmk
236229@skip_on_github_actions_with_win
237- @pytest .mark .end_to_end
238230def test_compile_latex_document_w_xelatex (runner , tmp_path ):
239231 task_source = """
240232 from pytask import mark
@@ -269,7 +261,6 @@ def task_compile_document():
269261
270262@needs_latexmk
271263@skip_on_github_actions_with_win
272- @pytest .mark .end_to_end
273264def test_compile_latex_document_w_two_dependencies (runner , tmp_path ):
274265 task_source = """
275266 from pytask import mark
@@ -297,7 +288,6 @@ def task_compile_document(path: Path = Path("in.txt")):
297288
298289@needs_latexmk
299290@skip_on_github_actions_with_win
300- @pytest .mark .end_to_end
301291def test_fail_because_script_is_not_latex (tmp_path ):
302292 task_source = """
303293 from pytask import mark
@@ -327,7 +317,6 @@ def task_compile_document(path: Path = Path("in.txt")):
327317
328318@needs_latexmk
329319@skip_on_github_actions_with_win
330- @pytest .mark .end_to_end
331320def test_compile_document_to_out_if_document_has_relative_resources (tmp_path ):
332321 """Test that motivates the ``"--cd"`` flag.
333322
@@ -370,7 +359,6 @@ def task_compile_document(path: Path = Path("resources/content.tex")):
370359
371360@needs_latexmk
372361@skip_on_github_actions_with_win
373- @pytest .mark .end_to_end
374362def test_compile_document_w_wrong_flag (tmp_path ):
375363 """Test that wrong flags raise errors."""
376364 tmp_path .joinpath ("sub" ).mkdir (parents = True )
@@ -407,7 +395,6 @@ def task_compile_document():
407395
408396
409397@needs_latexmk
410- @pytest .mark .end_to_end
411398def test_compile_document_w_image (runner , tmp_path ):
412399 task_source = f"""
413400 from pytask import Product
@@ -443,7 +430,6 @@ def task_compile_document():
443430
444431@needs_latexmk
445432@skip_on_github_actions_with_win
446- @pytest .mark .end_to_end
447433def test_compile_latex_document_w_multiple_marks (runner , tmp_path ):
448434 """Test simple compilation."""
449435 task_source = """
@@ -471,7 +457,6 @@ def task_compile_document():
471457
472458@needs_latexmk
473459@skip_on_github_actions_with_win
474- @pytest .mark .end_to_end
475460def test_compile_latex_document_with_wrong_extension (runner , tmp_path ):
476461 """Test simple compilation."""
477462 task_source = """
@@ -498,7 +483,6 @@ def task_compile_document():
498483
499484@needs_latexmk
500485@skip_on_github_actions_with_win
501- @pytest .mark .end_to_end
502486def test_compile_w_bibliography_and_keep_bbl (runner , tmp_path ):
503487 """Compile a LaTeX document with bibliography."""
504488 task_source = """
@@ -542,7 +526,6 @@ def task_compile_document(
542526
543527@needs_latexmk
544528@skip_on_github_actions_with_win
545- @pytest .mark .end_to_end
546529@pytest .mark .parametrize (
547530 ("step" , "message" ),
548531 [
@@ -582,7 +565,6 @@ def task_compile_document():
582565
583566@needs_latexmk
584567@skip_on_github_actions_with_win
585- @pytest .mark .end_to_end
586568def test_compile_latex_document_with_task_decorator (runner , tmp_path ):
587569 """Test simple compilation."""
588570 task_source = """
@@ -609,7 +591,6 @@ def compile_document():
609591
610592@needs_latexmk
611593@skip_on_github_actions_with_win
612- @pytest .mark .end_to_end
613594def test_use_task_without_path (tmp_path ):
614595 task_source = """
615596 import pytask
@@ -637,7 +618,6 @@ def test_use_task_without_path(tmp_path):
637618
638619@needs_latexmk
639620@skip_on_github_actions_with_win
640- @pytest .mark .end_to_end
641621def test_collect_latex_document_with_product_from_another_task (runner , tmp_path ):
642622 """Test simple compilation."""
643623 task_source = """
0 commit comments