You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2014/09/16 19:50:03 UTC
svn commit: r1625345 - in /qpid/dispatch/trunk/tests:
system_tests_management.py system_tests_qdmanage.py
Author: tross
Date: Tue Sep 16 17:50:03 2014
New Revision: 1625345
URL: http://svn.apache.org/r1625345
Log:
NO-JIRA - Make tests more tolerant of older Python platforms
Modified:
qpid/dispatch/trunk/tests/system_tests_management.py
qpid/dispatch/trunk/tests/system_tests_qdmanage.py
Modified: qpid/dispatch/trunk/tests/system_tests_management.py
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/tests/system_tests_management.py?rev=1625345&r1=1625344&r2=1625345&view=diff
==============================================================================
--- qpid/dispatch/trunk/tests/system_tests_management.py (original)
+++ qpid/dispatch/trunk/tests/system_tests_management.py Tue Sep 16 17:50:03 2014
@@ -56,7 +56,6 @@ class ManagementTest(system_test.TestCas
self.node2 = self.cleanup(Node(Url(self.router.addresses[0], path='$management2')))
self.maxDiff = None
self.longMessage = True
- unittest.util._MAX_LENGTH = 256 # Monkey patch unittest truncation
def test_bad_query(self):
"""Test that various badly formed queries get the proper response"""
Modified: qpid/dispatch/trunk/tests/system_tests_qdmanage.py
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/tests/system_tests_qdmanage.py?rev=1625345&r1=1625344&r2=1625345&view=diff
==============================================================================
--- qpid/dispatch/trunk/tests/system_tests_qdmanage.py (original)
+++ qpid/dispatch/trunk/tests/system_tests_qdmanage.py Tue Sep 16 17:50:03 2014
@@ -123,7 +123,7 @@ class QdmanageTest(TestCase):
LONG_TYPES=[long_type(name) for name in TYPES]
qall = json.loads(self.run_qdmanage('query'))
- self.assertLessEqual(set(LONG_TYPES), set([e['type'] for e in qall]))
+ self.assertTrue(set(LONG_TYPES) <= set([e['type'] for e in qall]))
qlistener = json.loads(self.run_qdmanage('query', type='listener'))
self.assertEqual([long_type('listener')], [e['type'] for e in qlistener])
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org