From e02ffe854745c6c39127967f5d1dcaff915d7190 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 7 Oct 2010 19:42:28 -0400 Subject: Corrected test errors. There was a bug in the XML compare method. --- tests/test_stanza_error.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/test_stanza_error.py') diff --git a/tests/test_stanza_error.py b/tests/test_stanza_error.py index f76ac62d..d5ed6f5f 100644 --- a/tests/test_stanza_error.py +++ b/tests/test_stanza_error.py @@ -30,11 +30,13 @@ class TestErrorStanzas(SleekTest): self.failUnless(msg['error']['condition'] == 'item-not-found', "Error condition doesn't match.") - del msg['error']['condition'] + msg['error']['condition'] = 'resource-constraint' self.check_message(msg, """ - + + + """) @@ -52,6 +54,6 @@ class TestErrorStanzas(SleekTest): Error! - """) + """, use_values=False) suite = unittest.TestLoader().loadTestsFromTestCase(TestErrorStanzas) -- cgit v1.2.3