def METHOD_NAME(self):
    """
    The set_language view is forbidden to be accessed via GET
    """
    lang_code = self._get_inactive_language_code()
    post_data = dict(language=lang_code)
    response = self.client.get(reverse("kolibri:core:set_language"), data=post_data)
    self.assertEqual(type(response), HttpResponseNotAllowed)