mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
[ENH] Add duration in Charge table - tests
This commit is contained in:
committed by
Florian BEZANNIER
parent
26df9f35a9
commit
dfa4e8fb8d
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user