예제 #1
0
 def test_dict_names_sshkey(self):
     """Return a list of the user field of the list of dicts"""
     self.assertEqual(dict_names(dict_name_entry2), dict_name_results2)
예제 #2
0
 def test_dict_names_other(self):
     """Return a list of the unknown field of the list of dicts"""
     self.assertEqual(dict_names(dict_name_entry3), dict_name_results3)
예제 #3
0
 def test_dict_names_users(self):
     """Return a list of the name field of the list of dicts"""
     self.assertEqual(dict_names(dict_name_entry1), dict_name_results1)