Skip to content

Commit

Permalink
Drop coverage for doc schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Sep 24, 2020
1 parent fa4e38e commit 369273d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion dsmr_api/schemas.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from rest_framework.schemas.openapi import AutoSchema


class DsmrReaderSchema(AutoSchema):
class DsmrReaderSchema(AutoSchema): # pragma: nocover
operation_mapping = None

def __init__(self, **operation_mapping):
Expand Down
6 changes: 0 additions & 6 deletions dsmr_frontend/tests/webinterface/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,3 @@ def test_docs(self):
reverse('frontend:redoc-api-docs')
)
self.assertEqual(response.status_code, 200, response.content)

def test_openapi_schema(self):
response = Client().get(
reverse('v2-api-openapi-schema')
)
self.assertEqual(response.status_code, 200, response.content)

0 comments on commit 369273d

Please sign in to comment.