Skip to content

Commit

Permalink
boost coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
flxdot committed May 2, 2024
1 parent 0c3c823 commit 05eb3bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import pytest_asyncio
from carlos.edge.interface.device import DriverDirection
from carlos.edge.interface.units import UnitOfMeasurement
from carlos.edge.interface.units import PhysicalQuantity, UnitOfMeasurement

from carlos.database.context import RequestContext
from carlos.database.device import (
Expand Down Expand Up @@ -237,6 +237,7 @@ async def test_driver_signals_crud(
assert updated.display_name == "Temperature Updated"
assert updated.unit_of_measurement == UnitOfMeasurement.FAHRENHEIT
assert updated.is_visible_on_dashboard is False
assert isinstance(updated.physical_quantity, PhysicalQuantity)

found_map = {f.timeseries_id: f for f in found}

Expand Down

0 comments on commit 05eb3bd

Please sign in to comment.