From f349d35442cc2f841864cddf9f5b99ab6b19c54c Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Thu, 14 Sep 2017 17:34:40 +0200 Subject: [PATCH] Correct typo in test class name --- tests/test_schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_schemas.py b/tests/test_schemas.py index 90916fdf5..0ee6131b6 100644 --- a/tests/test_schemas.py +++ b/tests/test_schemas.py @@ -695,14 +695,14 @@ class SchemaGenerationExclusionTests(TestCase): def view(request): pass - class OldFashjonedExcludedView(APIView): + class OldFashionedExcludedView(APIView): exclude_from_schema = True def get(self, request, *args, **kwargs): pass patterns = [ - url('^excluded-old-fashioned/$', OldFashjonedExcludedView.as_view()), + url('^excluded-old-fashioned/$', OldFashionedExcludedView.as_view()), ] inspector = EndpointEnumerator(patterns)