# HG changeset patch # User cmlenz # Date 1237300309 0 # Node ID b3f1486af96465c073aaefcf8821f1f810b1300d # Parent 395b701f10d35ebf7196baab507bcd0e7eacc3cc Added XPath unit test for #234. diff --git a/genshi/tests/path.py b/genshi/tests/path.py --- a/genshi/tests/path.py +++ b/genshi/tests/path.py @@ -204,6 +204,15 @@ input = xml, output = '' ) + xml = XML(''' + + +
1One
2Two
''') + self._test_eval( + path = 'tr/td[1]', + input = xml, + output = '12' + ) def test_2step_text(self): xml = XML('Foo')