def test_fromElementKnownBadCombination(self):

        xml = """
        <iq type='set' to='pubsub.example.org'
                       from='user@example.org'>
          <pubsub xmlns='http://jabber.org/protocol/pubsub'>
             <publish/>
             <create/>
          </pubsub>
        </iq>
        """

        self.assertRaises(NotImplementedError,
                          pubsub.PubSubRequest.fromElement, parseXml(xml))
Updates counter with the tallies from the given iterable, dictionary or Counter.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubRequestTest.test_fromElementKnownBadCombination--crossover with--dataset/ETHPy150Open clips/pattern/pattern/metrics.py/Counter.update