Improve string formatting v6 (#33698)
This commit is contained in:
1 parent
d7e3b0b755
commit
eae21be5b9
43 files changed
+81
-87
No files matched your search
@@ -70,7 +70,7 @@ def mocked_requests(*args, **kwargs):
|
||||
},
|
||||
200,
|
||||
)
|
||||
if str(args[0]).endswith("timedOut/" + URL_LIST_END) and FIRST_CALL is True:
|
||||
if str(args[0]).endswith(f"timedOut/{URL_LIST_END}") and FIRST_CALL is True:
|
||||
FIRST_CALL = False
|
||||
# deliver an error when called with expired token
|
||||
return MockResponse({"code": "401", "msg": "Invalid token"}, 200)
|
||||
|
||||
Reference in new issue
Block a user