from src.gameplay.core.tasks.selectChatTab import SelectChatTabTask


def test_missing_chat_tab_uses_current_tab():
    context = {'ng_chat': {'tabs': {}}}

    assert SelectChatTabTask('local chat').shouldIgnore(context) is True
