Skip to content

Commit

Permalink
update the docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>
  • Loading branch information
Ahmad-Wahid committed Mar 1, 2024
1 parent baaea2e commit d85d0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/data/tests/test_sensor_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_closest_sensor(run_as_cli, add_nearby_weather_sensors, n):
"""Check that the closest temperature sensor to our wind sensor returns
the one that is on the same spot as the wind sensor itself.
(That's where we set it up in our conftest.)
And check that the 2nd and 3rd closest are the farther temperature sensors we set up.
And check that the 2nd and 3rd closest are the farther temperature sensors we set up, in the case of 3 sensors.
"""
wind_sensor = add_nearby_weather_sensors["wind"]
closest_sensor_or_sensors = Sensor.find_closest(
Expand Down

0 comments on commit d85d0cf

Please sign in to comment.