Place generateschema tests with other schema tests.

This commit is contained in:
Carlton Gibson 2019-04-04 15:57:22 +02:00
parent 8a80aad894
commit 63255e623c

View File

@ -7,7 +7,7 @@ from django.test import TestCase
from django.test.utils import override_settings
from django.utils import six
from rest_framework.compat import coreapi, yaml
from rest_framework.compat import yaml
from rest_framework.utils import json
from rest_framework.views import APIView
@ -22,8 +22,7 @@ urlpatterns = [
]
@override_settings(ROOT_URLCONF='tests.test_generateschema')
@pytest.mark.skipif(not coreapi, reason='coreapi is not installed')
@override_settings(ROOT_URLCONF=__name__)
class GenerateSchemaTests(TestCase):
"""Tests for management command generateschema."""