summaryrefslogtreecommitdiff
path: root/tests/test_stanza_element.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-12-11 17:04:58 -0800
committerLance Stout <lancestout@gmail.com>2011-12-11 17:04:58 -0800
commit62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b (patch)
tree450dc8b21739b7e512d8e43a43c90b776a521835 /tests/test_stanza_element.py
parent16c72e8efda387299b81c8bcde6fe4838ac65680 (diff)
downloadslixmpp-62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b.tar.gz
slixmpp-62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b.tar.bz2
slixmpp-62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b.tar.xz
slixmpp-62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b.zip
Fix iterable substanzas when added as normal plugin.
If an iterable plugin was an enabled, it wasn't added to the iterables list.
Diffstat (limited to 'tests/test_stanza_element.py')
-rw-r--r--tests/test_stanza_element.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_stanza_element.py b/tests/test_stanza_element.py
index dc67d1c5..f7ec59c0 100644
--- a/tests/test_stanza_element.py
+++ b/tests/test_stanza_element.py
@@ -68,7 +68,10 @@ class TestElementBase(SleekTest):
'baz': '',
'foo2': {'bar': '',
'baz': 'b'},
- 'substanzas': [{'__childtag__': '{foo}subfoo',
+ 'substanzas': [{'__childtag__': '{foo}foo2',
+ 'bar': '',
+ 'baz': 'b'},
+ {'__childtag__': '{foo}subfoo',
'bar': 'c',
'baz': ''}]}
self.failUnless(values == expected,