mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 04:20:12 +03:00
Correct typo in test class name
This commit is contained in:
parent
6c377a3fe4
commit
f349d35442
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user