reimplemented openMensaFeedv2 and fixed linting

This commit is contained in:
Hadrian Burkhardt
2023-12-03 02:51:47 +01:00
committed by f4lco
parent 9e37940334
commit d637d71c8f
16 changed files with 632 additions and 598 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import os
import httpretty
import pytest
from stw_potsdam.swp_webspeiseplan_api import SWP_Webspeiseplan_API
from stw_potsdam.swp_webspeiseplan_api import SWPWebspeiseplanAPI
@pytest.fixture
@@ -35,7 +35,7 @@ def api_online_one_shot():
]
httpretty.register_uri(httpretty.POST,
SWP_Webspeiseplan_API.URL_BASE,
SWPWebspeiseplanAPI.URL_BASE,
responses=responses)
httpretty.enable(allow_net_connect=False)