From 26dc998f586bd29714b12bafbc0613c09937b737 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 27 Jul 2025 15:35:56 +0200 Subject: [PATCH] Enable all tests --- tests/test_qualifier.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_qualifier.py b/tests/test_qualifier.py index c37d963..150175b 100644 --- a/tests/test_qualifier.py +++ b/tests/test_qualifier.py @@ -176,7 +176,7 @@ def test_multi_selector(selector: str, expected: list[Node]) -> None: ("div#innerDiv p.colour-primary", []), ("div.nonexistent p.colour-secondary", []), ("div#topDiv div#topDiv", []), - # ("div#topDiv > div.container > a", [A_LINK]), + ("div#topDiv > div.container > a", [A_LINK]), ], ) def test_descendant_selector(selector: str, expected: list[Node]) -> None: @@ -320,15 +320,15 @@ def test_whitespace_basic(selector: str, expected: list[Node]) -> None: ("div.container >h1", [H1]), ("div.container > h1", [H1]), ("div.container > h1", [H1]), - # ("div#topDiv >div> a", [A_LINK]), - # ("div#topDiv >div a", [A_LINK]), - # ("div#topDiv >div:not(.colour-secondary) a", [A_LINK]), + ("div#topDiv >div> a", [A_LINK]), + ("div#topDiv >div a", [A_LINK]), + ("div#topDiv >div:not(.colour-secondary) a", [A_LINK]), ("div:not(.colour-secondary)", [TOP_DIV, INNER_DIV]), ("div:not( .colour-secondary)", [TOP_DIV, INNER_DIV]), ("div:not(.colour-secondary )", [TOP_DIV, INNER_DIV]), ("div:not( .colour-secondary )", [TOP_DIV, INNER_DIV]), ("div:not( .colour-secondary )", [TOP_DIV, INNER_DIV]), - # ("div#topDiv >div:not( .colour-secondary ) a", [A_LINK]), + ("div#topDiv >div:not( .colour-secondary ) a", [A_LINK]), ], ) def test_whitespace_bonus(selector: str, expected: list[Node]) -> None: