def test_rm_miss_key(self): """Function: test_rm_miss_key Description: Test with missing key to remove. Arguments: """ self.assertEqual(gen_libs.rm_key(self.data3, self.key3), self.results3)
def test_one_entry(self): """Function: test_one_entry Description: Test with one entry in dictionary. Arguments: """ self.assertEqual(gen_libs.rm_key(self.data2, self.key4), self.results)
def test_empty_dict(self): """Function: test_empty_dict Description: Test with empty dictionary. Arguments: """ self.assertEqual(gen_libs.rm_key(self.data, self.key2), self.results)
def test_rm_key(self): """Function: test_rm_key Description: Test removing one key. Arguments: """ self.assertEqual(gen_libs.rm_key(self.data3, self.key2), self.results2)