summaryrefslogtreecommitdiffhomepage
path: root/tests/test_message.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-09-30 14:02:57 -0700
committerJeff Forcier <jeff@bitprophet.org>2015-09-30 14:02:57 -0700
commitbdcec2f123e1b971626367e07317021cf4609aa2 (patch)
tree195cc0b9d647acd1801eac23fb5db0c3da961b3a /tests/test_message.py
parent7b33770b4786af2508fab11cebe934584fe19ca6 (diff)
parentaef405c9adc3ca087b21836d4a2ee56e05a2b3c4 (diff)
Merge branch '1.15'
Diffstat (limited to 'tests/test_message.py')
-rw-r--r--tests/test_message.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_message.py b/tests/test_message.py
index f308c037..f18cae90 100644
--- a/tests/test_message.py
+++ b/tests/test_message.py
@@ -92,12 +92,12 @@ class MessageTest (unittest.TestCase):
def test_4_misc(self):
msg = Message(self.__d)
- self.assertEqual(msg.get_int(), 5)
- self.assertEqual(msg.get_int(), 0x1122334455)
- self.assertEqual(msg.get_int(), 0xf00000000000000000)
+ self.assertEqual(msg.get_adaptive_int(), 5)
+ self.assertEqual(msg.get_adaptive_int(), 0x1122334455)
+ self.assertEqual(msg.get_adaptive_int(), 0xf00000000000000000)
self.assertEqual(msg.get_so_far(), self.__d[:29])
self.assertEqual(msg.get_remainder(), self.__d[29:])
msg.rewind()
- self.assertEqual(msg.get_int(), 5)
+ self.assertEqual(msg.get_adaptive_int(), 5)
self.assertEqual(msg.get_so_far(), self.__d[:4])
self.assertEqual(msg.get_remainder(), self.__d[4:])