def _sanity_check(self, result: HttpResponse) -> None:
    '\n        Use this for tests that are geared toward specific edge cases, but\n        which still want the home page to load properly.\n        '
    html = result.content.decode('utf-8')
    if ('Compose your message' not in html):
        raise AssertionError('Home page probably did not load.')
Use this for tests that are geared toward specific edge cases, but
which still want the home page to load properly.
def _sanity_check(self, result: HttpResponse) -> None:
    '\n        Use this for tests that are geared toward specific edge cases, but\n        which still want the home page to load properly.\n        '
    html = result.content.decode('utf-8')
    if ('Compose your message' not in html):
        raise AssertionError('Home page probably did not load.')