Skip to content

Commit

Permalink
Update test result data
Browse files Browse the repository at this point in the history
  • Loading branch information
j4asper committed Jun 23, 2024
1 parent aaf0638 commit 0aa3ada
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions tests/expected_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"variant": "1.8 brint-hybrid sedan aut. gear",
"vin": "JTDAABAA80A000567",
"type": VehicleType.car,
"last_update": datetime(2021, 3, 9, 0, 0),
"last_update": datetime(2024, 6, 13, 0, 0),
"registration_number": "CY41511",
"first_registration": datetime(2021, 3, 9, 0, 0),
"use": UseType.private_driving,
Expand All @@ -129,8 +129,8 @@
"particle_filter": False,
"doors": 4,
"insurance": {"company": "GJENSIDIGE FORSIKRING",
"created": datetime(2022, 3, 31, 0, 0),
"is_active": True,
"created": datetime(2024, 6, 13, 0, 0),
"is_active": False,
"number": None
}
},
Expand All @@ -140,7 +140,7 @@
"variant": "2.0 mjt 165 kassevogn",
"vin": "ZFA27000064355698",
"type": VehicleType.van,
"last_update": datetime(2014, 12, 23, 0, 0),
"last_update": datetime(2024, 6, 14, 0, 0),
"registration_number": "AP22698",
"first_registration": datetime(2014, 12, 23, 0, 0),
"use": UseType.freight_transport_private_and_business,
Expand All @@ -150,7 +150,7 @@
"total_weight": 2973,
"vehicle_weight": None,
"propulsion": PropulsionType.diesel,
"tow_bar": True,
"tow_bar": False,
"fuel_consumption": 14.7,
"cylinders": 4,
"plugin_hybrid": False,
Expand All @@ -161,40 +161,40 @@
"particle_filter": True,
"doors": 3,
"insurance": {"company": "Codan Forsikring for Alm. Brand Forsikring A/S",
"created": datetime(2024, 5, 13, 0, 0),
"is_active": True,
"created": datetime(2024, 6, 14, 0, 0),
"is_active": False,
"number": None
}
},
"ca20548": {
"make": "Yamaha",
"model": "Yzf",
"variant": "R 1",
"vin": "TP1224102800",
"aw85002": {
"make": "Suzuki",
"model": "Gs",
"variant": "500e",
"vin": "GM51B100088",
"type": VehicleType.motorcycle,
"last_update": datetime(2022, 8, 12, 0, 0),
"registration_number": "CA20548",
"first_registration": datetime(2000, 8, 3, 0, 0),
"last_update": datetime(2016, 3, 23, 0, 0),
"registration_number": "AW85002",
"first_registration": datetime(1991, 7, 26, 0, 0),
"use": UseType.private_driving,
"vehicle_id": 9000000002356860,
"vehicle_id": 4014507199110115,
"color": None,
"model_year": None,
"total_weight": 395,
"vehicle_weight": 198,
"total_weight": 380,
"vehicle_weight": 170,
"propulsion": PropulsionType.benzin,
"tow_bar": False,
"fuel_consumption": None,
"cylinders": 4,
"cylinders": 2,
"plugin_hybrid": False,
"electricity_consumption": None,
"electric_range": None,
"battery_capacity": None,
"body_type": None,
"particle_filter": None,
"doors": None,
"insurance": {"company": "Alm. Brand",
"created": datetime(2022, 8, 12, 0, 0),
"is_active": False,
"insurance": {"company": "Topdanmark A/S",
"created": datetime(2024, 5, 23, 0, 0),
"is_active": True,
"number": None
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dmr_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def test_dmr_object_van():


def test_dmr_object_motorcycle():
dmr, expected = get_object_for_comparison("ca20548", True)
dmr, expected = get_object_for_comparison("aw85002", True)
validate_object(dmr, expected)

0 comments on commit 0aa3ada

Please sign in to comment.