See #297: removed unused variables
This commit is contained in:
parent
2b1c46317f
commit
639882bd34
50 changed files with 33 additions and 88 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import arrow
|
||||
import pytest
|
||||
import uuid
|
||||
|
||||
from django.urls import reverse
|
||||
from django.utils import timezone
|
||||
|
|
@ -350,7 +349,7 @@ def test_library_actor_handles_follow_manual_approval(preferences, mocker, facto
|
|||
def test_library_actor_handles_follow_auto_approval(preferences, mocker, factories):
|
||||
preferences["federation__music_needs_approval"] = False
|
||||
actor = factories["federation.Actor"]()
|
||||
accept_follow = mocker.patch("funkwhale_api.federation.activity.accept_follow")
|
||||
mocker.patch("funkwhale_api.federation.activity.accept_follow")
|
||||
library_actor = actors.SYSTEM_ACTORS["library"].get_actor_instance()
|
||||
data = {
|
||||
"actor": actor.url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue