'If the filesystem for a dataset is mounted on the node and the
configuration says the dataset is deleted on that node,
``BlockDeviceDeployer.calculate_changes`` returns a state change to
unmount the filesystem.'

def test_unmount_deleted_manifestation(self):

    node_state = self.ONE_DATASET_STATE
    node_config = to_node(self.ONE_DATASET_STATE).transform(['manifestations', unicode(self.DATASET_ID), 'dataset', 'deleted'], True)
    assert_calculated_changes(self, node_state, node_config, set(), in_parallel(changes=[UnmountBlockDevice(dataset_id=self.DATASET_ID, blockdevice_id=self.BLOCKDEVICE_ID)]))
