Lines Matching refs:jid
76 jid = xmppserver.Jid('foo', 'bar.com')
77 self.assertEqual(str(jid), 'foo@bar.com')
80 jid = xmppserver.Jid('foo', 'bar.com', 'resource')
81 self.assertEqual(str(jid), 'foo@bar.com/resource')
84 jid = xmppserver.Jid('foo', 'bar.com', 'resource')
85 self.assertEqual(str(jid.GetBareJid()), 'foo@bar.com')
107 def HandshakeDone(self, jid):
108 self.jid = jid
145 self.assertEqual(self.jid.username, username)
146 self.assertEqual(self.jid.domain,
149 self.assertEqual(self.jid.resource,
207 xmpp_connection.HandshakeDone(xmppserver.Jid('foo', 'bar'))