fix: try to fix tests
This commit is contained in:
+3
-2
@@ -7,6 +7,9 @@ from mistletoe import Document
|
|||||||
import src.download as download
|
import src.download as download
|
||||||
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
|
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
|
||||||
|
|
||||||
|
dl = download.Download()
|
||||||
|
dl.download_git_content()
|
||||||
|
|
||||||
|
|
||||||
def parse_katalog():
|
def parse_katalog():
|
||||||
with open("data/git_content/contents/questions/fragenkatalog3b.json") as fragenkatalog_file:
|
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.skip("Requires special files")
|
||||||
@pytest.mark.html
|
@pytest.mark.html
|
||||||
def test_html(capsys):
|
def test_html(capsys):
|
||||||
dl = download.Download()
|
|
||||||
dl.download_git_content()
|
|
||||||
with capsys.disabled():
|
with capsys.disabled():
|
||||||
with open("test/acceptanceTest.md") as file:
|
with open("test/acceptanceTest.md") as file:
|
||||||
content = file.read()
|
content = file.read()
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ from mistletoe import Document
|
|||||||
import src.download as download
|
import src.download as download
|
||||||
from renderer.fifty_ohm_html_slide_renderer import FiftyOhmHtmlSlideRenderer
|
from renderer.fifty_ohm_html_slide_renderer import FiftyOhmHtmlSlideRenderer
|
||||||
|
|
||||||
|
dl = download.Download()
|
||||||
|
dl.download_git_content()
|
||||||
|
|
||||||
|
|
||||||
def parse_katalog():
|
def parse_katalog():
|
||||||
with open("data/git_content/contents/questions/fragenkatalog3b.json") as fragenkatalog_file:
|
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.skip("Requires special files")
|
||||||
@pytest.mark.slide
|
@pytest.mark.slide
|
||||||
def test_html_slides(capsys):
|
def test_html_slides(capsys):
|
||||||
dl = download.Download()
|
|
||||||
dl.download_git_content()
|
|
||||||
with capsys.disabled():
|
with capsys.disabled():
|
||||||
with open("test/acceptanceTestSlides.md") as file:
|
with open("test/acceptanceTestSlides.md") as file:
|
||||||
content = file.read()
|
content = file.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user