Ejemplo n.º 1
0
def test_removable_media_medianame_not_eq_str_gives_correct_json_representation(
):
    _filter = RemovableMediaMediaName.not_eq("test_name")
    expected = IS_NOT.format("removableMediaMediaName", "test_name")
    assert str(_filter) == expected
Ejemplo n.º 2
0
def test_removable_media_medianame_not_in_str_gives_correct_json_representation(
):
    items = ["name1", "name2", "name3"]
    _filter = RemovableMediaMediaName.not_in(items)
    expected = NOT_IN.format("removableMediaMediaName", *items)
    assert str(_filter) == expected
Ejemplo n.º 3
0
def test_removable_media_medianame_not_exists_str_gives_correct_json_representation(
):
    _filter = RemovableMediaMediaName.not_exists()
    expected = NOT_EXISTS.format("removableMediaMediaName")
    assert str(_filter) == expected