Updated tests

This commit is contained in:
Eliot Berriot 2018-04-17 23:09:38 +02:00
parent c17f7eefde
commit f55d2b6c9d
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 12 additions and 4 deletions

View file

@ -43,7 +43,7 @@ def test_instance_endpoints_405_if_federation_disabled(
def test_wellknown_webfinger_validates_resource(
db, api_client, settings, mocker):
db, api_client, settings, mocker):
clean = mocker.spy(webfinger, 'clean_resource')
url = reverse('federation:well-known-webfinger')
response = api_client.get(url, data={'resource': 'something'})