Files
core/tests
Willem Burgers 458548daec Fix TypeError (#21734)
* timediff is of type timedelta. Divide by timedelta does not work.

- convert a timedelta to int
- make sure the test inputs real timestamps

* Convert the total_seconds to decimal and round the result

readings are of type Decimal, so fix test to reflect that

* split line into multiple statements

Line too long

* use total_seconds instead of timediff

* Make both values float instead of Decimal
2019-03-09 17:51:15 +01:00
..
2019-03-09 17:51:15 +01:00
2016-01-30 14:08:32 -05:00
2018-11-27 14:00:05 +01:00
2016-10-23 23:48:01 -07:00
2019-02-07 22:50:59 +01:00
2018-02-22 23:22:27 -08:00
2019-02-15 10:57:02 +01:00