fix: force download/pull of data for tests

This commit is contained in:
Matthias Jung
2026-02-01 22:13:01 +01:00
parent 2ee62ac9c6
commit 4165fc338c
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -4,6 +4,7 @@ import pytest
from jinja2 import Environment, FileSystemLoader
from mistletoe import Document
import src.download as download
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
@@ -76,6 +77,8 @@ 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()