modular parser framework
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user