You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2013/06/20 15:06:10 UTC

svn commit: r1494969 - /qpid/proton/trunk/tests/python/proton_tests/interop.py

Author: rhs
Date: Thu Jun 20 13:06:10 2013
New Revision: 1494969

URL: http://svn.apache.org/r1494969
Log:
use Data.get_object

Modified:
    qpid/proton/trunk/tests/python/proton_tests/interop.py

Modified: qpid/proton/trunk/tests/python/proton_tests/interop.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/python/proton_tests/interop.py?rev=1494969&r1=1494968&r2=1494969&view=diff
==============================================================================
--- qpid/proton/trunk/tests/python/proton_tests/interop.py (original)
+++ qpid/proton/trunk/tests/python/proton_tests/interop.py Thu Jun 20 13:06:10 2013
@@ -67,8 +67,7 @@ class InteropTest(common.Test):
         next_type = self.data.next()
         assert next_type == type, "Type mismatch: %s != %s"%(
             Data.type_names[next_type], Data.type_names[type])
-        getter = Data.get_mappings[type]
-        next_value = getter(self.data)
+        next_value = self.data.get_object()
         assert next_value == value, "Value mismatch: %s != %s"%(next_value, value)
 
     def test_message(self):



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org