def test_anonymous_user(self):
        response = self.get_response(self.country.id, params=self.params)
        self.assertMethodNotAllowed(response, 'PATCH')
Unauthenticated users shouldn't be able to update countries.
dataset/ETHPy150Open bmun/huxley/huxley/api/tests/test_country.py/CountryDetailPatchTestCase.test_anonymous_user