def METHOD_NAME(self, username, password):
    c1 = iscsi.ChapCredentials(username, protected(password))
    c2 = iscsi.ChapCredentials(username, protected(password))
    self.assertFalse(c1 != c2, "%s should equal %s" % (c1, c2))