def test_can_set_keys_as_attrbutes(self): # create a config object to test config = Config(foo='bar') # update the attrbute config.foo = 'quz' # validate the config object assert config['foo'] == 'quz', ( "Attributes could not be updated." )