mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 13:19:16 +02:00
Linting
This commit is contained in:
parent
d63f8f2e33
commit
4811f35eb5
4 changed files with 8 additions and 10 deletions
|
@ -79,7 +79,7 @@ def test_retrieve_ap_object_honor_instance_policy_different_url_and_id(
|
|||
block_all=True, for_domain=True
|
||||
).target_domain
|
||||
fid = "https://ok/test"
|
||||
m = r_mock.get(fid, json={"id": "http://{}/test".format(domain.name)})
|
||||
r_mock.get(fid, json={"id": "http://{}/test".format(domain.name)})
|
||||
|
||||
with pytest.raises(exceptions.BlockedActorOrDomain):
|
||||
utils.retrieve_ap_object(fid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue