Add HelpTest for help pages.

This commit is contained in:
Steve Howell 2016-11-14 10:23:19 -08:00 committed by Tim Abbott
parent 02cf40ade8
commit fad0a86554
1 changed files with 7 additions and 0 deletions

View File

@ -1760,6 +1760,13 @@ class GetProfileTest(ZulipTestCase):
get_avatar_url(user_profile.avatar_source, user_profile.email),
)
class HelpTest(ZulipTestCase):
def test_browser_window_help(self):
# type: () -> None
result = self.client_get('/help/#the-browser-window')
self.assertEqual(result.status_code, 200)
self.assertIn("There are three panes", result.content.decode("utf-8"))
class HomeTest(ZulipTestCase):
@slow('big method')
def test_home(self):