def test_namespaceNotFound(self):
        xp = XPathQuery("/foo[@xmlns='badns']/bar2")
        self.assertEquals(xp.matches(self.e), 0)
Setup listener for discovery of specific service.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_xpath.py/XPathTest.test_namespaceNotFound--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/discovery.py/listen