Python 3.11

This commit is contained in:
f4lco
2022-11-01 22:26:41 +01:00
parent 3dabf375c9
commit c308118e8f
12 changed files with 413 additions and 486 deletions
+3 -3
View File
@@ -32,14 +32,14 @@ def is_enabled():
requires_online_api = pytest.mark.skipif(
not is_enabled(),
reason='Querying the online API is disabled. '
'Turn on by setting env variable %s.' % ENV_ENABLED
reason="Querying the online API is disabled. "
f"Turn on by setting env variable {ENV_ENABLED}."
)
@requires_online_api
def test_retrieval(canteen):
feed.render_meta(canteen, "/canteens/{}/menu".format(canteen.key))
feed.render_meta(canteen, f"/canteens/{canteen.key}/menu")
params = MenuParams(canteen_id=canteen.id, chash=canteen.chash)
try: