mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 11:33:25 +00:00
refactor: Consolidate text color decorators and update related properties
This commit is contained in:
@@ -78,12 +78,6 @@ class TestTextFormatter:
|
||||
result = TextFormatter.red("test")
|
||||
assert result == "[red]test[/red]"
|
||||
|
||||
def test_bold_green_deprecated(self):
|
||||
"""Test deprecated bold_green method."""
|
||||
with pytest.warns(DeprecationWarning):
|
||||
result = TextFormatter.bold_green("test")
|
||||
assert "[bold green]" in result
|
||||
|
||||
|
||||
class TestDurationFormatter:
|
||||
"""Test DurationFormatter functionality."""
|
||||
|
||||
Reference in New Issue
Block a user