def test_05_check_user_attribute_changed_in_nss(self): """updates: Check user attribute is updated in nss""" if self.computer.os.find("mac") > -1: self.computer.dscacheUtilFlush() user, time = self.time_command(self.computer.vastool.nss.getpwnam, "/bin/sh", 20, updates.user) user = parse_user(user) self.assertLess(time, 20, "nss getpwnam failed after 20 seconds") self.assertEqual(user["shell"], "/bin/sh", "shell was not updated in nss.")