def test_multiple_entries(self): """Function: test_multiple_entries Description: Test with multiple user entries. Arguments: """ self.assertEqual(cmds_gen.create_cfg_array(self.cfg_file4, cfg_path=self.cfg_path), self.base3)
def test_empty_file(self): """Function: test_empty_file Description: Test with empty file. Arguments: """ self.assertEqual(cmds_gen.create_cfg_array(self.cfg_file1, cfg_path=self.cfg_path), self.base)
def test_single_entry2(self): """Function: test_single_entry Description: Test with single user entry. Arguments: """ self.assertEqual(cmds_gen.create_cfg_array(self.cfg_file5, cfg_path=self.cfg_path), self.base2)
def test_no_data(self): """Function: test_no_data Description: Test with no data in file, only comments. Arguments: """ self.assertEqual(cmds_gen.create_cfg_array(self.cfg_file2, cfg_path=self.cfg_path), self.base)