Revert "fix: address Copilot review feedback on PR #416"

This reverts commit e5a746d8ca.
This commit is contained in:
Taylor Wilsdon
2026-02-06 10:54:44 -05:00
parent e5a746d8ca
commit 0f80ce1a4d
3 changed files with 216 additions and 67 deletions

View File

@@ -338,11 +338,8 @@ async def test_format_invalid_wrap_strategy():
wrap_strategy="INVALID",
)
error_msg = str(exc_info.value)
assert "wrap_strategy" in error_msg
assert "CLIP" in error_msg
assert "OVERFLOW_CELL" in error_msg
assert "WRAP" in error_msg
error_msg = str(exc_info.value).lower()
assert "wrap_strategy" in error_msg or "wrap" in error_msg
@pytest.mark.asyncio
@@ -360,11 +357,8 @@ async def test_format_invalid_horizontal_alignment():
horizontal_alignment="INVALID",
)
error_msg = str(exc_info.value)
assert "horizontal_alignment" in error_msg
assert "CENTER" in error_msg
assert "LEFT" in error_msg
assert "RIGHT" in error_msg
error_msg = str(exc_info.value).lower()
assert "horizontal" in error_msg or "left" in error_msg
@pytest.mark.asyncio
@@ -382,11 +376,8 @@ async def test_format_invalid_vertical_alignment():
vertical_alignment="INVALID",
)
error_msg = str(exc_info.value)
assert "vertical_alignment" in error_msg
assert "BOTTOM" in error_msg
assert "MIDDLE" in error_msg
assert "TOP" in error_msg
error_msg = str(exc_info.value).lower()
assert "vertical" in error_msg or "top" in error_msg
@pytest.mark.asyncio