'Makes sure that the cookie being set is for the overridden domain'

def test_session_cookie_domain_with_site_configuration_override(self):

    response = self.client.get('/', HTTP_HOST=self.site.domain)
    self.assertIn(self.site.domain, str(response.cookies['sessionid']))
