We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c1e68 commit 437cffdCopy full SHA for 437cffd
tests/tests.py
@@ -1,5 +1,6 @@
1
from django.core.urlresolvers import reverse
2
from django.test import TestCase, override_settings
3
+from rest_framework_docs.settings import DRFSettings
4
5
6
class DRFDocsViewTests(TestCase):
@@ -11,6 +12,13 @@ class DRFDocsViewTests(TestCase):
11
12
def setUp(self):
13
super(DRFDocsViewTests, self).setUp()
14
15
+ def test_settings_module(self):
16
+
17
+ settings = DRFSettings()
18
19
+ self.assertEqual(settings.get_setting("HIDDEN"), False)
20
+ self.assertEqual(settings.get_setting("TEST"), None)
21
22
def test_index_view_with_endpoints(self):
23
"""
24
Should load the drf focs view with all the endpoints.
0 commit comments