def test_public_ip_address_not_in_str_gives_correct_json_representation(): items = ["publicIpAddress1", "publicIpAddress2", "publicIpAddress3"] _filter = PublicIPAddress.not_in(items) expected = NOT_IN.format("publicIpAddress", *items) assert str(_filter) == expected
def test_public_ip_address_not_exists_str_gives_correct_json_representation(): _filter = PublicIPAddress.not_exists() expected = NOT_EXISTS.format("publicIpAddress") assert str(_filter) == expected
def test_public_ip_address_not_eq_str_gives_correct_json_representation(): _filter = PublicIPAddress.not_eq("test_publicIp") expected = IS_NOT.format("publicIpAddress", "test_publicIp") assert str(_filter) == expected