mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
10 lines
290 B
Python
10 lines
290 B
Python
from textual.color import Color
|
|
from textual.css.styles import Styles
|
|
|
|
|
|
def test_box_normalization():
|
|
"""Check that none or hidden is normalized to empty string."""
|
|
styles = Styles()
|
|
styles.border_left = ("none", "red")
|
|
assert styles.border_left == ("", Color.parse("red"))
|