async def METHOD_NAME(self, monkeypatch, bot, super_group_id, chat_photo):
    async def make_assertion(url, request_data: RequestData, *args, **kwargs):
        return request_data.parameters["photo"] == chat_photo.to_dict()
    monkeypatch.setattr(bot.request, "post", make_assertion)
    message = await bot.set_chat_photo(photo=chat_photo, chat_id=super_group_id)
    assert message