Lines Matching refs:entry
15 for entry in entries:
16 self.assertIsInstance(entry, spwd.struct_spwd)
23 entry = spwd.getspnam(random_name)
24 self.assertIsInstance(entry, spwd.struct_spwd)
25 self.assertEqual(entry.sp_nam, random_name)
26 self.assertEqual(entry.sp_nam, entry[0])
27 self.assertIsInstance(entry.sp_pwd, str)
28 self.assertEqual(entry.sp_pwd, entry[1])
29 self.assertIsInstance(entry.sp_lstchg, int)
30 self.assertEqual(entry.sp_lstchg, entry[2])
31 self.assertIsInstance(entry.sp_min, int)
32 self.assertEqual(entry.sp_min, entry[3])
33 self.assertIsInstance(entry.sp_max, int)
34 self.assertEqual(entry.sp_max, entry[4])
35 self.assertIsInstance(entry.sp_warn, int)
36 self.assertEqual(entry.sp_warn, entry[5])
37 self.assertIsInstance(entry.sp_inact, int)
38 self.assertEqual(entry.sp_inact, entry[6])
39 self.assertIsInstance(entry.sp_expire, int)
40 self.assertEqual(entry.sp_expire, entry[7])
41 self.assertIsInstance(entry.sp_flag, int)
42 self.assertEqual(entry.sp_flag, entry[8])
55 self.assertEqual(spwd.getspnam(unicode_name), entry)