Lines Matching refs:assertEqual
18 self.assertEqual(xml.toxml(), xml_text)
24 self.assertEqual(xml, xml)
25 self.assertEqual(xml_clone, xml_clone)
33 self.assertEqual(xml.parentNode, None)
35 self.assertEqual(xml_clone.toxml(), xml_text)
50 self.assertEqual(len(self.stanzas), 0)
52 self.assertEqual(self.stanzas[0], '<foo/>')
53 self.assertEqual(self.stanzas[1], '<bar/>')
58 self.assertEqual(len(self.stanzas), 0)
60 self.assertEqual(self.stanzas[0],
66 self.assertEqual(len(self.stanzas), 0)
69 self.assertEqual(self.stanzas[0],
77 self.assertEqual(str(jid), 'foo@bar.com')
81 self.assertEqual(str(jid), 'foo@bar.com/resource')
85 self.assertEqual(str(jid.GetBareJid()), 'foo@bar.com')
93 self.assertEqual('foo.%d' % i, id_generator.GetNextId())
117 self.assertEqual(self.data_received, 0)
119 self.assertEqual(self.data_received, 2)
128 self.assertEqual(self.data_received, 3)
133 self.assertEqual(self.data_received, 5)
138 self.assertEqual(self.data_received, 6)
143 self.assertEqual(self.data_received, 7)
145 self.assertEqual(self.jid.username, username)
146 self.assertEqual(self.jid.domain,
149 self.assertEqual(self.jid.resource,
205 self.assertEqual(len(socket_map), 1)
206 self.assertEqual(len(self.connections), 0)
208 self.assertEqual(len(socket_map), 1)
209 self.assertEqual(len(self.connections), 1)
212 self.assertEqual(len(self.data), 0)
215 self.assertEqual(len(self.data), 1)
219 self.assertEqual(len(self.data), 1)
224 self.assertEqual(len(self.data), 2)
240 self.assertEqual(len(socket_map), 0)
241 self.assertEqual(len(self.connections), 0)
264 self.assertEqual(len(socket_map), 0)
266 self.assertEqual(len(socket_map), 1)
268 self.assertEqual(len(socket_map), 2)
270 self.assertEqual(len(socket_map), 0)