mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
/api: Fix tests for /api homepage.
This commit is contained in:
@@ -51,7 +51,7 @@ class DocPageTest(ZulipTestCase):
|
|||||||
|
|
||||||
@slow("Tests dozens of endpoints, including generating lots of emails")
|
@slow("Tests dozens of endpoints, including generating lots of emails")
|
||||||
def test_doc_endpoints(self) -> None:
|
def test_doc_endpoints(self) -> None:
|
||||||
self._test('/api/', 'We hear you like APIs')
|
self._test('/api/', 'The Zulip API')
|
||||||
self._test('/api/api-keys', 'you can use its email and API key')
|
self._test('/api/api-keys', 'you can use its email and API key')
|
||||||
self._test('/api/installation-instructions', 'No download required!')
|
self._test('/api/installation-instructions', 'No download required!')
|
||||||
self._test('/api/private-message', 'steal away your hearts')
|
self._test('/api/private-message', 'steal away your hearts')
|
||||||
|
|||||||
Reference in New Issue
Block a user