mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 11:30:12 +03:00
Remove redundant test.
This commit is contained in:
parent
7241de66ae
commit
05267221c2
|
@ -43,9 +43,6 @@ class TestInspector(TestCase):
|
||||||
@override_settings(REST_FRAMEWORK={'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.inspectors.OpenAPIAutoSchema'})
|
@override_settings(REST_FRAMEWORK={'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.inspectors.OpenAPIAutoSchema'})
|
||||||
class TestGenerator(TestCase):
|
class TestGenerator(TestCase):
|
||||||
|
|
||||||
def test_override_settings(self):
|
|
||||||
assert isinstance(views.ExampleListView.schema, OpenAPIAutoSchema)
|
|
||||||
|
|
||||||
def test_paths_construction(self):
|
def test_paths_construction(self):
|
||||||
"""Construction of the `paths` key."""
|
"""Construction of the `paths` key."""
|
||||||
patterns = [
|
patterns = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user