mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
lazy parse_rules
This commit is contained in:
@@ -43,6 +43,7 @@ def test_color_property_parsing(css_value, expectation, expected_color):
|
||||
|
||||
with expectation:
|
||||
stylesheet.add_source(css)
|
||||
stylesheet.parse()
|
||||
|
||||
if expected_color:
|
||||
css_rule = stylesheet.rules[0]
|
||||
|
||||
Reference in New Issue
Block a user