Black formatting

This commit is contained in:
Jesse Hills 2024-03-06 02:48:31 +00:00
parent 718fc0c53c
commit 9a6ef9a20a
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
2 changed files with 9 additions and 2 deletions

View File

@ -639,6 +639,7 @@ class NumberState(EntityState):
# ==================== DATETIME DATE ==================== # ==================== DATETIME DATE ====================
@_frozen_dataclass_decorator @_frozen_dataclass_decorator
class DateInfo(EntityInfo): class DateInfo(EntityInfo):
pass pass

View File

@ -622,8 +622,14 @@ async def test_number_command(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"cmd, req", "cmd, req",
[ [
(dict(key=1, year=2024, month=2, day=29), dict(key=1, year=2024, month=2, day=29)), (
(dict(key=1, year=2000, month=6, day=10), dict(key=1, year=2000, month=6, day=10)), dict(key=1, year=2024, month=2, day=29),
dict(key=1, year=2024, month=2, day=29),
),
(
dict(key=1, year=2000, month=6, day=10),
dict(key=1, year=2000, month=6, day=10),
),
], ],
) )
async def test_date_command( async def test_date_command(