We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3259a2f commit b6e0252Copy full SHA for b6e0252
doc/index.rst
@@ -108,8 +108,8 @@ Example::
108
self.assertXmlNamespace(root, 'ns', 'uri')
109
110
# Check
111
- self.assertXpathsUniqueValue(root, ('./leaf@id', ))
112
- self.assertXpathValues(root, './leaf@active', ('on', 'off'))
+ self.assertXpathsUniqueValue(root, ('./leaf/@id', ))
+ self.assertXpathValues(root, './leaf/@active', ('on', 'off'))
113
114
115
Alternativly, one can use the :py:class:`XmlTestMixin` instead of the
0 commit comments