コード例 #1
0
 def testNormalTransmitResetAddress(self):
     ti = TransmitIntent('addr', 'msg')
     self.assertEqual(ti.targetAddr, 'addr')
     self.assertEqual(ti.message, 'msg')
     ti.changeTargetAddr('addr2')
     self.assertEqual(ti.targetAddr, 'addr2')
     self.assertEqual(ti.message, 'msg')
コード例 #2
0
 def testNormalTransmitResetAddress(self):
     ti = TransmitIntent('addr', 'msg')
     assert ti.targetAddr == 'addr'
     assert ti.message == 'msg'
     ti.changeTargetAddr('addr2')
     assert ti.targetAddr == 'addr2'
     assert ti.message == 'msg'
コード例 #3
0
 def testNormalTransmitResetAddress(self):
     ti = TransmitIntent('addr', 'msg')
     assert ti.targetAddr == 'addr'
     assert ti.message == 'msg'
     ti.changeTargetAddr('addr2')
     assert ti.targetAddr == 'addr2'
     assert ti.message == 'msg'
コード例 #4
0
 def testNormalTransmitResetAddress(self):
     ti = TransmitIntent('addr', 'msg')
     self.assertEqual(ti.targetAddr, 'addr')
     self.assertEqual(ti.message, 'msg')
     ti.changeTargetAddr('addr2')
     self.assertEqual(ti.targetAddr, 'addr2')
     self.assertEqual(ti.message, 'msg')