diff --git a/test/test_html.py b/test/test_html.py
index 38b17f2..1725e0d 100644
--- a/test/test_html.py
+++ b/test/test_html.py
@@ -7,6 +7,9 @@ from mistletoe import Document
import src.download as download
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
+dl = download.Download()
+dl.download_git_content()
+
def parse_katalog():
with open("data/git_content/contents/questions/fragenkatalog3b.json") as fragenkatalog_file:
@@ -77,8 +80,6 @@ def include_stub(include):
@pytest.mark.skip("Requires special files")
@pytest.mark.html
def test_html(capsys):
- dl = download.Download()
- dl.download_git_content()
with capsys.disabled():
with open("test/acceptanceTest.md") as file:
content = file.read()
diff --git a/test/test_html_slides.py b/test/test_html_slides.py
index fb08ca3..b0b638a 100644
--- a/test/test_html_slides.py
+++ b/test/test_html_slides.py
@@ -8,6 +8,9 @@ from mistletoe import Document
import src.download as download
from renderer.fifty_ohm_html_slide_renderer import FiftyOhmHtmlSlideRenderer
+dl = download.Download()
+dl.download_git_content()
+
def parse_katalog():
with open("data/git_content/contents/questions/fragenkatalog3b.json") as fragenkatalog_file:
@@ -91,8 +94,6 @@ questions = parse_katalog()
@pytest.mark.skip("Requires special files")
@pytest.mark.slide
def test_html_slides(capsys):
- dl = download.Download()
- dl.download_git_content()
with capsys.disabled():
with open("test/acceptanceTestSlides.md") as file:
content = file.read()