'``get_device_path`` returns a ``FilePath`` to the device representing
the attached volume.'

def test_get_device_path_device(self):

    new_volume = self.api.create_volume(dataset_id=uuid4(), size=self.minimum_allocatable_size)
    attached_volume = self.api.attach_volume(new_volume.blockdevice_id, attach_to=self.this_node)
    device_path = self.api.get_device_path(attached_volume.blockdevice_id)
    self.assertTrue(device_path.isBlockDevice(), u'Not    a    block    device.    Path:    {!r}'.format(device_path))
