From 93a9585fc6e2f340170796f83f799215ffd4c1f5 Mon Sep 17 00:00:00 2001 From: Constantin Hong Date: Wed, 8 May 2024 01:47:10 +0900 Subject: [PATCH] tests/test_xpath_selector_unit/test: Failed successfully --- changedetectionio/tests/test_xpath_selector_unit.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/changedetectionio/tests/test_xpath_selector_unit.py b/changedetectionio/tests/test_xpath_selector_unit.py index 95bdb525..3d8d8480 100644 --- a/changedetectionio/tests/test_xpath_selector_unit.py +++ b/changedetectionio/tests/test_xpath_selector_unit.py @@ -224,9 +224,7 @@ DOM_violation_two_html_root_element = """ ("//html/body/p[1]", "Browsers parse this part by fixing it but lxml doesn't and returns two root element node"), ("//body/p[1]", "First paragraph."), ("//body/p[1]", "Browsers parse this part by fixing it but lxml doesn't and returns two root element node"), - ("/html[2]/body/p[1]", "First paragraph."), ("/html[2]/body/p[1]", "Browsers parse this part by fixing it but lxml doesn't and returns two root element node"), - ("//html[2]/body/p[1]", "First paragraph."), ("//html[2]/body/p[1]", "Browsers parse this part by fixing it but lxml doesn't and returns two root element node"), ]) def test_broken_DOM_01(html_content, xpath, answer):