def test_page_already_expired(self):
        yesterday = tz_now() - datetime.timedelta(days=1)
        with self.settings(CMS_PERMISSION=False):
            page = create_page('page', 'nav_playground.html', 'en',
                               publication_end_date=yesterday, published=True)
            resp = self.client.get(page.get_absolute_url('en'))
            self.assertEqual(resp.status_code, 404)
Checks to see if a user with the given id exists. Will check case
dataset/ETHPy150Open divio/django-cms/cms/tests/test_page.py/PagesTestCase.test_page_already_expired--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/auth.py/AuthHandler._find_user_id_and_pwd_hash