summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarl Lorey <git@karllorey.com>2022-06-23 23:26:28 +0200
committerKarl Lorey <git@karllorey.com>2022-06-23 23:26:28 +0200
commitc54208e15c2b303cced2698ff331962d243b6329 (patch)
tree1734492fa51b6ceca2a1cb37cbf6bc2820e742fd /tests
parenta2f481c3481f6445e520e6bbdfafae3bbf94f96b (diff)
Add child selectors for CSS generation
Diffstat (limited to 'tests')
-rw-r--r--tests/test_selectors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_selectors.py b/tests/test_selectors.py
index 12c81d5..4038dd9 100644
--- a/tests/test_selectors.py
+++ b/tests/test_selectors.py
@@ -30,6 +30,7 @@ class TestGenerateUniqueSelectorsForNodes:
assert ".test" in selectors_found
assert "p.test" in selectors_found
+ assert "body > p.test" in selectors_found
def test_ids(self):
page = Page(