From 62e6d6fb4c68c8db7ef0e0234674e1f24ce7857b Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sun, 11 Dec 2011 17:04:58 -0800 Subject: Fix iterable substanzas when added as normal plugin. If an iterable plugin was an enabled, it wasn't added to the iterables list. --- tests/test_stanza_element.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') 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, -- cgit v1.2.3