'``/VolumeDriver.Path`` returns an error when asked for the mount path
of a volume that is not mounted locally.
This can happen as a result of ``docker inspect`` on a container
that has been created but is still waiting for its volume to
arrive from another node. It seems like Docker may also call this
after ``/VolumeDriver.Create``, so again while waiting for a
volume to arrive.'

def test_non_local_path(self):

    name = u'myvol'
    dataset_id = uuid4()
    d = self.flocker_client.create_dataset(self.NODE_B, int(DEFAULT_SIZE.to_Byte()), metadata={NAME_FIELD: name}, dataset_id=dataset_id)
    d.addCallback((lambda _: self.flocker_client.synchronize_state()))
    d.addCallback((lambda _: self.assertResult('POST', '/VolumeDriver.Path', {u'Name': name}, OK, {u'Err': 'Volume    not    available.', u'Mountpoint': u''})))
    return d
