diff --git a/src/config.py b/src/config.py index 0f71765..da4ed8c 100644 --- a/src/config.py +++ b/src/config.py @@ -15,7 +15,7 @@ class Config: self.content_access_token = self.get_config_value("directus_content_api_key") self.content_base_url = self.get_config_value("directus_content_base_url", "https://redaktion.50ohm.de/") - self.git_url = self.get_config_value("git_url", "git@github.com:DARC-e-V/50ohm-contents-dl.git") + self.git_url = self.get_config_value("git_url", "https://github.com/DARC-e-V/50ohm-contents-dl.git") self.p_fragenkatalog = Path( self.get_config_value("path_fragenkatalog", "./data/git_content/contents/questions/fragenkatalog3b.json") diff --git a/test/test_html.py b/test/test_html.py index 2771377..38b17f2 100644 --- a/test/test_html.py +++ b/test/test_html.py @@ -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() diff --git a/test/test_html_slides.py b/test/test_html_slides.py index 19b9029..fb08ca3 100644 --- a/test/test_html_slides.py +++ b/test/test_html_slides.py @@ -5,6 +5,7 @@ import pytest from jinja2 import Environment, FileSystemLoader from mistletoe import Document +import src.download as download from renderer.fifty_ohm_html_slide_renderer import FiftyOhmHtmlSlideRenderer @@ -90,6 +91,8 @@ 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()