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')
Example #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'
Example #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'
Example #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')