def test_toElementEmptyNodeIdentifier(self):
        subscription = pubsub.Subscription('',
                                           JID('user@example.org/Home'),
                                           'pending')
        element = subscription.toElement()
        self.assertFalse(element.hasAttribute('node'))
The empty node identifier should not yield a node attribute.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/SubscriptionTest.test_toElementEmptyNodeIdentifier