Skip to content

Commit

Permalink
Limit derivative test (#31717)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored Feb 11, 2020
1 parent 5a0f21c commit 6fcf547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/derivative/test_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ async def test_data_moving_average_for_discrete_sensor(hass):
# (because the true derivative is 1 °C/min) an error of less than 10%.

temperature_values = []
for temperature in range(60):
temperature_values += [temperature] * 60
for temperature in range(6):
temperature_values += [temperature] * 6
time_window = 600

times = list(range(len(temperature_values)))
Expand Down

0 comments on commit 6fcf547

Please sign in to comment.