response = self.recvTCPResponseOverConnection(conn)
if response is None:
break
- self.assertEquals(expectedResponse, response)
+ self.assertEqual(expectedResponse, response)
count = count + 1
except:
pass
self.assertTrue(receivedQuery)
self.assertTrue(receivedResponse)
receivedQuery.id = query.id
- self.assertEquals(query, receivedQuery)
- self.assertEquals(receivedResponse, expectedResponse)
+ self.assertEqual(query, receivedQuery)
+ self.assertEqual(receivedResponse, expectedResponse)
conn = self.openTCPConnection()
response = self.recvTCPResponseOverConnection(conn)
if response is None:
break
- self.assertEquals(expectedResponse, response)
+ self.assertEqual(expectedResponse, response)
count = count + 1
except:
pass
response = self.recvTCPResponseOverConnection(conn)
if response is None:
break
- self.assertEquals(expectedResponse, response)
+ self.assertEqual(expectedResponse, response)
count = count + 1
except:
pass
response = self.recvTCPResponseOverConnection(conn)
if response is None:
break
- self.assertEquals(expectedResponse, response)
+ self.assertEqual(expectedResponse, response)
count = count + 1
except:
pass