refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
This commit is contained in:
parent
7768ea77a4
commit
8d9946d35a
143 changed files with 454 additions and 582 deletions
|
|
@ -442,7 +442,7 @@ def test_can_filter_channels_through_api_scope(factories, logged_in_api_client):
|
|||
factories["audio.Channel"]()
|
||||
url = reverse("api:v1:channels-list")
|
||||
response = logged_in_api_client.get(
|
||||
url, {"scope": "actor:{}".format(channel.attributed_to.full_username)}
|
||||
url, {"scope": f"actor:{channel.attributed_to.full_username}"}
|
||||
)
|
||||
|
||||
assert response.status_code == 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue