def test_values_with_parent(self): parent = Config({"test": True}) settings = Config(YAML_DATA, parent=parent, node=mock.Mock()) self.assertCountEqual(list(settings.values()), ["bob", ["one", "two", "three"], True]) self.assertCountEqual(list(parent.values()), [True])
def test_values(self): settings = Config(YAML_DATA) self.assertCountEqual(list(settings.values()), ["bob", ["one", "two", "three"]])