summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-19 19:42:32 +0200
committermathieui <mathieui@mathieui.net>2021-04-19 19:42:52 +0200
commit768089d45719aecc6a18606b2e9b30d80074a3ac (patch)
tree8a73a267e44469414e5966a521d7458553b1c41d /tests
parenteee185ff9087267c84fb1a5eec2b573db2c29a92 (diff)
downloadslixmpp-768089d45719aecc6a18606b2e9b30d80074a3ac.tar.gz
slixmpp-768089d45719aecc6a18606b2e9b30d80074a3ac.tar.bz2
slixmpp-768089d45719aecc6a18606b2e9b30d80074a3ac.tar.xz
slixmpp-768089d45719aecc6a18606b2e9b30d80074a3ac.zip
tests: fix bogus test case
stanza.match worked accidentally, but the two elements used in that test actually conflict with each other (not overriding the plugin_attrib, which makes it then default to 'plugin', leading to shenanigans).
Diffstat (limited to 'tests')
-rw-r--r--tests/test_stanza_element.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_stanza_element.py b/tests/test_stanza_element.py
index 8ebc9b23..1172e885 100644
--- a/tests/test_stanza_element.py
+++ b/tests/test_stanza_element.py
@@ -456,6 +456,7 @@ class TestElementBase(SlixTest):
class TestSubStanza(ElementBase):
name = "sub"
+ plugin_attrib = name
namespace = "baz"
interfaces = {'attrib'}