'If a dataset has been marked as deleted *and* it is in use by an
application, no changes are made.'

def test_no_delete_if_in_use(self):

    local_state = add_application_with_volume(self.ONE_DATASET_STATE)
    local_config = to_node(self.ONE_DATASET_STATE).transform(['manifestations', unicode(self.DATASET_ID), 'dataset', 'deleted'], True)
    local_config = add_application_with_volume(local_config)
    assert_calculated_changes(self, local_state, local_config, set(), in_parallel(changes=[]))
