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 d586d5e commit b5c1e68Copy full SHA for b5c1e68
tests/settings.py
@@ -16,11 +16,17 @@
16
17
INSTALLED_APPS = [
18
# Django Apps
19
+ 'django.contrib.admin',
20
+ 'django.contrib.auth',
21
+ 'django.contrib.contenttypes',
22
'django.contrib.staticfiles',
23
24
# External Packages
25
"rest_framework",
26
"rest_framework_docs",
27
+
28
+ # Test apps
29
+ "tests"
30
]
31
32
ROOT_URLCONF = 'tests.urls'
tests/tests.py
@@ -38,4 +38,4 @@ def test_index_view_docs_hidden(self):
38
response = self.client.get(reverse('drfdocs'))
39
40
self.assertEqual(response.status_code, 404)
41
- self.assertEqual(response.reason_phrase, "NOT FOUND")
+ self.assertEqual(response.reason_phrase.upper(), "NOT FOUND")
0 commit comments