diff options
author | Lance Stout <lancestout@gmail.com> | 2010-08-27 15:48:48 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-08-27 15:48:48 -0400 |
commit | 906aa0bd6896d119bcbabc6e21de31c2171316b9 (patch) | |
tree | a8f374eabf266998fa6faabaf96a5c7d7c2b5d0a /tests/test_elementbase.py | |
parent | bb6f4af8e24f940a837c227b0f2fab2b64e4dc7e (diff) | |
download | slixmpp-906aa0bd6896d119bcbabc6e21de31c2171316b9.tar.gz slixmpp-906aa0bd6896d119bcbabc6e21de31c2171316b9.tar.bz2 slixmpp-906aa0bd6896d119bcbabc6e21de31c2171316b9.tar.xz slixmpp-906aa0bd6896d119bcbabc6e21de31c2171316b9.zip |
Fixed SleekTest compare method to check XML text.
Corrected resulting test failures. All pass again.
Diffstat (limited to 'tests/test_elementbase.py')
-rw-r--r-- | tests/test_elementbase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_elementbase.py b/tests/test_elementbase.py index 8de7a169..b6d7c6f0 100644 --- a/tests/test_elementbase.py +++ b/tests/test_elementbase.py @@ -347,7 +347,7 @@ class TestElementBase(SleekTest): </wrapper> </foo> """) - stanza._setSubText('bar', text='', keep=True) + stanza._setSubText('wrapper/bar', text='', keep=True) self.checkStanza(TestStanza, stanza, """ <foo xmlns="foo"> <wrapper> @@ -358,7 +358,7 @@ class TestElementBase(SleekTest): """, use_values=False) stanza['bar'] = 'a' - stanza._setSubText('bar', text='') + stanza._setSubText('wrapper/bar', text='') self.checkStanza(TestStanza, stanza, """ <foo xmlns="foo"> <wrapper> |