Exemplo n.º 1
0
def test_removable_media_volume_name_not_eq_str_gives_correct_json_representation(
):
    _filter = RemovableMediaVolumeName.not_eq("test_name")
    expected = IS_NOT.format("removableMediaVolumeName", "test_name")
    assert str(_filter) == expected
Exemplo n.º 2
0
def test_removable_media_volume_name_not_in_str_gives_correct_json_representation(
):
    items = ["name1", "name2", "name3"]
    _filter = RemovableMediaVolumeName.not_in(items)
    expected = NOT_IN.format("removableMediaVolumeName", *items)
    assert str(_filter) == expected
Exemplo n.º 3
0
def test_removable_media_volume_name_not_exists_str_gives_correct_json_representation(
):
    _filter = RemovableMediaVolumeName.not_exists()
    expected = NOT_EXISTS.format("removableMediaVolumeName")
    assert str(_filter) == expected