'Test that JIDs with the same content are equal.'

def testJIDEquality(self):

    jid1 = JID(u'user@domain/resource')
    jid2 = JID(u'user@domain/resource')
    self.assertTrue((jid1 == jid2), u'Same    JIDs    are    not    considered    equal')
    self.assertFalse((jid1 != jid2), u'Same    JIDs    are    considered    not    equal')
