Skip to content

Commit

Permalink
Capitalize list action
Browse files Browse the repository at this point in the history
  • Loading branch information
domingues committed Jan 24, 2020
1 parent 338f059 commit 8a5bcf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/schemas/test_openapi.py
Expand Up @@ -88,7 +88,7 @@ def test_path_without_parameters(self):

operation = inspector.get_operation(path, method)
assert operation == {
'operationId': 'listDocStringExamples',
'operationId': 'ListDocStringExamples',
'description': 'A description of my GET operation.',
'parameters': [],
'responses': {
Expand Down Expand Up @@ -522,7 +522,7 @@ def test_operation_id_generation(self):
inspector.view = view

operationId = inspector._get_operation_id(path, method)
assert operationId == 'listExamples'
assert operationId == 'ListExamples'

def test_repeat_operation_ids(self):
router = routers.SimpleRouter()
Expand Down

0 comments on commit 8a5bcf9

Please sign in to comment.