From 768089d45719aecc6a18606b2e9b30d80074a3ac Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 19 Apr 2021 19:42:32 +0200 Subject: 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). --- tests/test_stanza_element.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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'} -- cgit v1.2.3