more docs

This commit is contained in:
Will McGugan
2022-08-04 15:27:41 +01:00
parent ae9862ce1f
commit fa4b971bff
13 changed files with 218 additions and 89 deletions

View File

@@ -9,8 +9,6 @@ from textual.css._help_text import (
color_property_help_text,
border_property_help_text,
layout_property_help_text,
docks_property_help_text,
dock_property_help_text,
fractional_property_help_text,
offset_property_help_text,
align_help_text,
@@ -92,12 +90,6 @@ def test_layout_property_help_text(styling_context):
assert "layout" in rendered
def test_docks_property_help_text(styling_context):
rendered = render(docks_property_help_text("docks", styling_context))
assert "Invalid value for" in rendered
assert "docks" in rendered
def test_fractional_property_help_text(styling_context):
rendered = render(fractional_property_help_text("opacity", styling_context))
assert "Invalid value for" in rendered