def test_validate_all_passes(self):
        name = 'yan'
        staticconf.DictConfiguration({}, namespace=name)
        staticconf.DictConfiguration({})
        config.validate(all_names=True)
        staticconf.get_string('one.two')
        staticconf.get_string('foo', namespace=name)

        staticconf.DictConfiguration({'one.two': 'nice'})
        staticconf.DictConfiguration({'foo': 'nice'}, namespace=name)
        config.validate(all_names=True)
    def test_validate_all_passes(self):
        name = 'yan'
        staticconf.DictConfiguration({}, namespace=name)
        staticconf.DictConfiguration({})
        config.validate(all_names=True)
        staticconf.get_string('one.two')
        staticconf.get_string('foo', namespace=name)

        staticconf.DictConfiguration({'one.two': 'nice'})
        staticconf.DictConfiguration({'foo': 'nice'}, namespace=name)
        config.validate(all_names=True)
    def test_validate_all_passes(self):
        name = "yan"
        staticconf.DictConfiguration({}, namespace=name)
        staticconf.DictConfiguration({})
        config.validate(all_names=True)
        staticconf.get_string("one.two")
        staticconf.get_string("foo", namespace=name)

        staticconf.DictConfiguration({"one.two": "nice"})
        staticconf.DictConfiguration({"foo": "nice"}, namespace=name)
        config.validate(all_names=True)
 def test_validate_single_passes(self):
     staticconf.DictConfiguration({})
     config.validate()
     staticconf.get_string('one.two')
     staticconf.DictConfiguration({'one.two': 'nice'})
     config.validate()
 def test_validate_single_passes(self):
     staticconf.DictConfiguration({})
     config.validate()
     staticconf.get_string('one.two')
     staticconf.DictConfiguration({'one.two': 'nice'})
     config.validate()
 def test_validate_single_passes(self):
     staticconf.DictConfiguration({})
     config.validate()
     staticconf.get_string("one.two")
     staticconf.DictConfiguration({"one.two": "nice"})
     config.validate()