# HG changeset patch # User cmlenz # Date 1237300512 0 # Node ID c965ea40311ecd22a27466542eec25d42ddce3ec # Parent b3f1486af96465c073aaefcf8821f1f810b1300d 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 @@ -213,6 +213,19 @@ input = xml, output = '12' ) + xml = XML('''('''') + self._test_eval( + path = 'li[2]/ul', + input = xml, + output = '' + ) def test_2step_text(self): xml = XML('Foo')