We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d1458 commit 6b57a26Copy full SHA for 6b57a26
readthedocs/rtd_tests/tests/test_footer.py
@@ -4,7 +4,7 @@
4
from rest_framework.test import APIRequestFactory, APITestCase
5
6
from readthedocs.api.v2.views.footer_views import (
7
- footer_html,
+ FooterHTML,
8
get_version_compare_data,
9
)
10
from readthedocs.builds.constants import BRANCH, LATEST, TAG
@@ -26,7 +26,7 @@ def setUpTestData(cls):
26
27
def render(self):
28
request = self.factory.get(self.url)
29
- response = footer_html(request)
+ response = FooterHTML.as_view()(request)
30
response.render()
31
return response
32
@@ -243,7 +243,7 @@ def setUp(self):
243
244
245
246
247
248
249
0 commit comments