Rename the get_queryset overriding test.

This commit is contained in:
Xavier Ordoquy 2016-01-21 16:50:07 +01:00
parent 6d95da7b2d
commit 5068ecf64b

View File

@ -176,7 +176,7 @@ class TestSlugRelatedField(APISimpleTestCase):
representation = self.field.to_representation(self.instance)
assert representation == self.instance.name
def test_no_queryset_init(self):
def test_overriding_get_queryset(self):
qs = self.queryset
class NoQuerySetSlugRelatedField(serializers.SlugRelatedField):