'Calling C{elements} with a namespace and local name on a
L{domish.Element} returns all child elements with that qualified name.'

def test_elementsWithQN(self):

    e = domish.Element((u'testns', u'foo'))
    c1 = e.addElement(u'name')
    c2 = e.addElement((u'testns2', u'baz'))
    c3 = e.addElement(u'quux')
    c4 = e.addElement((u'testns', u'name'))
    elts = list(e.elements(u'testns', u'name'))
    self.assertIn(c1, elts)
    self.assertNotIn(c2, elts)
    self.assertNotIn(c3, elts)
    self.assertIn(c4, elts)
