def test_description_not_in_str_gives_correct_json_representation():
    items = ["desc1", "desc2", "desc3"]
    _filter = Description.not_in(items)
    expected = NOT_IN.format("description", *sorted(items))
    assert str(_filter) == expected
def test_description_not_contains_str_gives_correct_json_representation():
    _filter = Description.not_contains("test")
    expected = NOT_CONTAINS.format("description", "test")
    assert str(_filter) == expected
def test_description_not_eq_str_gives_correct_json_representation():
    _filter = Description.not_eq("Departing Employee")
    expected = IS_NOT.format("description", "Departing Employee")
    assert str(_filter) == expected