def test_valid_config(self): ''' valid config unittest ''' utils.save_config(self.conf_true, self.conf_file) conf = utils.load_config(self.conf_file) self.assertEqual(utils.valid_config(conf), True)
def test_save_config(self): ''' save config unittest ''' utils.save_config(self.conf_true, self.conf_file) conf = utils.load_config(self.conf_file) self.assertDictEqual(conf, self.conf_true)