[ENH] Add duration in Charge table - tests

This commit is contained in:
Mikado8231
2023-11-25 13:06:45 +01:00
committed by Florian BEZANNIER
parent 26df9f35a9
commit dfa4e8fb8d
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ date2 = date3 - timedelta(minutes=20)
date1 = date3 - timedelta(minutes=40)
date0 = date3 - timedelta(minutes=60)
date4 = date3 + timedelta(minutes=1)
duration_min = (date3 - date0).seconds / 60
duration_str = str(date3 - date0)
vehicule_list = Cars()
vehicule_list.extend(