Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernst79 committed Aug 28, 2022
1 parent 15ac53a commit 8c3697e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,7 @@ def test_bthome_mass_kilograms(caplog):
),
},
entity_values={
KEY_MASS: SensorValue(
device_key=KEY_MASS, name="Mass", native_value=80.3
),
KEY_MASS: SensorValue(device_key=KEY_MASS, name="Mass", native_value=80.3),
KEY_SIGNAL_STRENGTH: SensorValue(
device_key=KEY_SIGNAL_STRENGTH, name="Signal Strength", native_value=-60
),
Expand Down Expand Up @@ -488,9 +486,7 @@ def test_bthome_mass_pounds(caplog):
),
},
entity_values={
KEY_MASS: SensorValue(
device_key=KEY_MASS, name="Mass", native_value=74.86
),
KEY_MASS: SensorValue(device_key=KEY_MASS, name="Mass", native_value=74.86),
KEY_SIGNAL_STRENGTH: SensorValue(
device_key=KEY_SIGNAL_STRENGTH, name="Signal Strength", native_value=-60
),
Expand Down Expand Up @@ -572,9 +568,7 @@ def test_bthome_count(caplog):
),
},
entity_values={
KEY_COUNT: SensorValue(
device_key=KEY_COUNT, name="Count", native_value=96
),
KEY_COUNT: SensorValue(device_key=KEY_COUNT, name="Count", native_value=96),
KEY_SIGNAL_STRENGTH: SensorValue(
device_key=KEY_SIGNAL_STRENGTH, name="Signal Strength", native_value=-60
),
Expand Down

0 comments on commit 8c3697e

Please sign in to comment.