modular parser framework

This commit is contained in:
Hadrian Burkhardt
2026-05-21 08:21:49 +00:00
parent 1223791074
commit cf5348a0c8
35 changed files with 452 additions and 166 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
import pytest
from stw_potsdam import views
from openmensa_parsers import views
# pytest fixtures are linked via parameter names of test methods
# pragma pylint: disable=unused-import,redefined-outer-name,unused-argument
@@ -21,7 +21,7 @@ def test_health_check(client):
assert response.data == b"OK"
def test_index(client):
def test_index(client, api_online_one_shot):
response = client.get("/").json
canteen_url = response.get("griebnitzsee", None)
assert canteen_url, "Known canteen in index response"