'Non-xpath non-field are filtered by matching attributes on spec and
matched nodes'

def test_attribute_mismatch(self):

    node = self.env['ir.ui.view'].locate_node(E.root(E.foo(attr='1'), E.bar(attr='2'), E.baz(attr='3')), E.bar(attr='5'))
    self.assertIsNone(node)
