'``get_device_path`` raises ``UnattachedVolume`` if the supplied
``blockdevice_id`` corresponds to an unattached volume.'

def test_get_device_path_unattached_volume(self):

    new_volume = self.api.create_volume(dataset_id=uuid4(), size=self.minimum_allocatable_size)
    exception = self.assertRaises(UnattachedVolume, self.api.get_device_path, new_volume.blockdevice_id)
    self.assertEqual(new_volume.blockdevice_id, exception.blockdevice_id)
