def METHOD_NAME(self):
    from c2cgeoportal_geoportal.views.theme import Theme
    theme_view = Theme(self._create_request_obj(params={"version": "2"}))
    themes = theme_view.themes()
    assert set(themes["errors"]) == {"The theme has an unsupported name '__test/theme'."}