def test_bot_update_delitem(bot_update: BotUpdate) -> None: assert bot_update['key3'] == 4 del bot_update['key3'] assert bot_update.get('key3') is None
def test_bot_update_get_item(bot_update: BotUpdate) -> None: assert bot_update['key2'] == 'str2' assert bot_update.get('key4') is None