Update tests/test_serializer_lists.py

This commit is contained in:
Asif Saif Uddin 2022-11-22 11:12:17 +06:00 committed by GitHub
parent 2137b1e849
commit c3f343bc7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -696,7 +696,7 @@ class TestToRepresentationManagerCheck:
https://github.com/encode/django-rest-framework/issues/8726
"""
def setup(self):
def setup_method(self):
class CustomManagerModelSerializer(serializers.ModelSerializer):
class Meta:
model = CustomManagerModel