'The result of ``get_device_path`` is no longer cached after an
``detach_device`` call.'

def test_get_device_path_until_detach(self):

    (attached_id1, _) = self.attached_volumes()
    self.cache.get_device_path(attached_id1)
    self.cache.detach_volume(attached_id1)
    self.assertRaises(UnattachedVolume, self.cache.get_device_path, attached_id1)
