From ce414ee8ea2cd1aa76d29d0cd9cc2080f8401388 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Thu, 15 Sep 2011 17:46:17 +0530 Subject: [PATCH] Issue #76:Fixed failing Asciidoc test --- hyde/tests/test_jinja2template.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hyde/tests/test_jinja2template.py b/hyde/tests/test_jinja2template.py index 2ca6bcb..4cc5fa9 100644 --- a/hyde/tests/test_jinja2template.py +++ b/hyde/tests/test_jinja2template.py @@ -158,8 +158,14 @@ def test_asciidoc(): """ - assert html == expected_output + assert html + q = PyQuery(html) + assert q + assert q("li").length == 3 + assert q("li:eq(0)").text().strip() == "test1" + assert q("li:eq(1)").text().strip() == "test2" + assert q("li:eq(2)").text().strip() == "test3" def test_markdown(): source = """