def test_find_droplet_wrong_id(manager): drop = dobackup.find_droplet(non_existing_droplet_id, manager) assert isinstance(drop, digitalocean.Droplet) is False
def test_find_droplet_name(manager): drop = dobackup.find_droplet(existing_droplet_name, manager) assert isinstance(drop, digitalocean.Droplet) is True