Skip to content

Commit

Permalink
whoops. test
Browse files Browse the repository at this point in the history
  • Loading branch information
dalinicus committed Dec 17, 2023
1 parent f27e0dd commit ad97b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def test_async_setup_entry_planted_day_created(self, setup):
assert sensor.entity_description.translation_key == "planted_days"
assert sensor.entity_description.icon == "mdi:calendar"
assert sensor.entity_description.device_class == SensorDeviceClass.DURATION
assert sensor.entity_description.unit_of_measurement == UnitOfTime.DAYS
assert sensor.entity_description.native_unit_of_measurement == UnitOfTime.DAYS
assert sensor.device_info is not None
assert sensor.aerogarden is not None
assert sensor.native_value == 43
Expand All @@ -185,7 +185,7 @@ async def test_async_setup_entry_nutrient_days_created(self, mocker, setup):
assert sensor.entity_description.translation_key == "nutrient_days"
assert sensor.entity_description.icon == "mdi:calendar-clock"
assert sensor.entity_description.device_class == SensorDeviceClass.DURATION
assert sensor.entity_description.unit_of_measurement == UnitOfTime.DAYS
assert sensor.entity_description.native_unit_of_measurement == UnitOfTime.DAYS
assert sensor.device_info is not None
assert sensor.aerogarden is not None
assert sensor.native_value == 6
Expand Down

0 comments on commit ad97b97

Please sign in to comment.