Fix weird format syntax

This commit is contained in:
Alexandre Aubin 2021-12-29 00:40:01 +01:00 committed by GitHub
parent 9855b6d7f5
commit 37d43d1bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -266,7 +266,7 @@ def test_actions_map_import_error(mocker):
with pytest.raises(MoulinetteError) as exception:
amap.process({}, timeout=30, route=("GET", "/test-auth/none"))
expected_msg = "unable to load function {: }.{} because: {}".format(
expected_msg = "unable to load function {}.{} because: {}".format(
"moulitest",
"testauth_none",
"Yoloswag",