'A filesystem which was previously remotely owned and is now locally
owned becomes writeable.'

def test_owner_change_to_locally_becomes_writeable(self):

    pool = build_pool(self)
    service = service_for_pool(self, pool)
    local_volume = service.get(MY_VOLUME)
    remote_volume = Volume(node_id=u'other-uuid', name=MY_VOLUME2, service=service)
    d = pool.create(remote_volume)
    def created_filesystems(ignored):
        return pool.change_owner(remote_volume, local_volume)
    d.addCallback(created_filesystems)
    def changed_owner(filesystem):
        filesystem.get_path().child('text').setContent('hello')
    d.addCallback(changed_owner)
    return d
