kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Black/Flake8
rodzic
46ecc3f103
commit
7e442db524
|
@ -1,4 +1,3 @@
|
|||
import collections
|
||||
from rest_framework import serializers
|
||||
|
||||
|
||||
|
|
|
@ -769,7 +769,7 @@ class CollectionSerializer(serializers.Serializer):
|
|||
|
||||
|
||||
class LibraryTrackActionSerializer(common_serializers.ActionSerializer):
|
||||
actions = [common_serializers.Action('import', allow_all=True)]
|
||||
actions = [common_serializers.Action("import", allow_all=True)]
|
||||
filterset_class = filters.LibraryTrackFilter
|
||||
|
||||
@transaction.atomic
|
||||
|
|
|
@ -70,7 +70,7 @@ def test_can_signup_with_invitation(preferences, factories, api_client):
|
|||
|
||||
def test_can_signup_with_invitation_invalid(preferences, factories, api_client):
|
||||
url = reverse("rest_register")
|
||||
invitation = factories["users.Invitation"](code="hello")
|
||||
factories["users.Invitation"](code="hello")
|
||||
data = {
|
||||
"username": "test1",
|
||||
"email": "test1@test.com",
|
||||
|
|
Ładowanie…
Reference in New Issue