doc tests: Rename test for integration 404s.

The prior name was just strange.  This test could really
use a better comment explaining its purpose.

Also, presumably these pages don't always get 404s, so
we should really have the test exercise both conditions.
This commit is contained in:
Steve Howell
2023-06-30 11:20:06 +00:00
committed by Tim Abbott
parent 447d9ebd1d
commit 63f561d448

View File

@@ -365,7 +365,7 @@ class DocPageTest(ZulipTestCase):
og_title = '<meta property="og:title" content="Zulip integrations" />'
self._test(url, [og_title, og_description], doc_html_str=True)
def test_doc_html_str_non_ajax_call(self) -> None:
def test_integration_404s(self) -> None:
# We don't need to test all the pages for 404
for integration in list(INTEGRATIONS.keys())[5]:
with self.settings(ROOT_DOMAIN_LANDING_PAGE=True):