def test_switcher(self):
        response = self.get()
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, 'id="settings-site-switch"')
Check that the switcher form exists in the page
dataset/ETHPy150Open torchbox/wagtail/wagtail/contrib/settings/tests/test_admin.py/TestMultiSite.test_switcher