def testConTransmit(self): transmitter = Transmitter(TestConf) transmitter.transmitConData(SqlReader.FULL) dstCursor = self.dstConn.cursor() dstCursor.execute('select * from ' + TestConf.dstConTable) rows = dstCursor.fetchall() self.assertEqual(len(self.data), len(rows))