def testPutAndGet(self): conf = Config() conf.put('hello', 'world') self.assertTrue(conf.has('hello')) self.assertEqual('world', conf.get('hello'))