Skip to content

Commit b5c1e68

Browse files
author
Emmanouil Konstantinidis
committed
Support 1.9
1 parent d586d5e commit b5c1e68

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,17 @@
1616

1717
INSTALLED_APPS = [
1818
# Django Apps
19+
'django.contrib.admin',
20+
'django.contrib.auth',
21+
'django.contrib.contenttypes',
1922
'django.contrib.staticfiles',
2023

2124
# External Packages
2225
"rest_framework",
2326
"rest_framework_docs",
27+
28+
# Test apps
29+
"tests"
2430
]
2531

2632
ROOT_URLCONF = 'tests.urls'

tests/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ def test_index_view_docs_hidden(self):
3838
response = self.client.get(reverse('drfdocs'))
3939

4040
self.assertEqual(response.status_code, 404)
41-
self.assertEqual(response.reason_phrase, "NOT FOUND")
41+
self.assertEqual(response.reason_phrase.upper(), "NOT FOUND")

0 commit comments

Comments
 (0)