def test_superuser(self):
        TestUsers.new_superuser(username='user', password='user')
        self.client.login(username='user', password='user')

        response = self.get_response(self.country.id, params=self.params)
        self.assertMethodNotAllowed(response, 'PATCH')
Get a list of sites as dictionaries {site_id:'domain.name'}
dataset/ETHPy150Open bmun/huxley/huxley/api/tests/test_country.py/CountryDetailPatchTestCase.test_superuser--crossover with--dataset/ETHPy150Open bretth/woven/woven/webservers.py/_get_django_sites