def test_can_update_with_another_config(self): # create a config object config1 = Config(foo='bar') # create a config object out of that object config2 = Config(bar='baz') # merge the two configs config1.update({'bar':'baz'}) # make sure one can be applied on the other assert config1 == {'foo': 'bar', 'bar': 'baz'}, ( "Config could not be updated with another." )