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).
This commit is contained in:
mathieui 2021-04-19 19:42:32 +02:00
parent eee185ff90
commit 768089d457

View file

@ -456,6 +456,7 @@ class TestElementBase(SlixTest):
class TestSubStanza(ElementBase): class TestSubStanza(ElementBase):
name = "sub" name = "sub"
plugin_attrib = name
namespace = "baz" namespace = "baz"
interfaces = {'attrib'} interfaces = {'attrib'}