Skip to content

Commit 659375f

Browse files
Daniel Alvarezcarltongibson
Daniel Alvarez
authored andcommitted
Fixed a typo on the ExampleValidatedAPIView
Cherry-picked from encode#6819
1 parent 1b66d1b commit 659375f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/schemas/test_openapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def test_serializer_validators(self):
225225
path = '/'
226226
method = 'GET'
227227
view = create_view(
228-
views.ExampleValdidatedAPIView,
228+
views.ExampleValidatedAPIView,
229229
method,
230230
create_request(path),
231231
)

tests/schemas/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class ExampleValidatedSerializer(serializers.Serializer):
9696
ip = serializers.IPAddressField()
9797

9898

99-
class ExampleValdidatedAPIView(generics.GenericAPIView):
99+
class ExampleValidatedAPIView(generics.GenericAPIView):
100100
serializer_class = ExampleValidatedSerializer
101101

102102
def get(self, *args, **kwargs):

0 commit comments

Comments
 (0)