'Values are either the same or replaced by \'REMOVED\'.'

def test_dataset_logged_safely(self):

    config = {'dataset': {'secret': 'SENSITIVE', 'zone': 'keep'}}
    content = yaml.safe_dump(config)
    logged = _remove_dataset_fields(content)
    self.assertEqual(yaml.safe_load(logged), {'dataset': {'secret': 'REMOVED', 'zone': 'keep'}})
