def test_tab_url_not_eq_str_gives_correct_json_representation(): _filter = TabURL.not_eq("test_tab_url") expected = IS_NOT.format("tabUrls", "test_tab_url") assert str(_filter) == expected
def test_tab_url_not_in_str_gives_correct_json_representation(): items = ["tab1", "tab2", "tab3"] _filter = TabURL.not_in(items) expected = NOT_IN.format("tabUrls", *items) assert str(_filter) == expected
def test_tab_url_not_exists_str_gives_correct_json_representation(): _filter = TabURL.not_exists() expected = NOT_EXISTS.format("tabUrls") assert str(_filter) == expected