Skip to content

Commit

Permalink
rfc test
Browse files Browse the repository at this point in the history
  • Loading branch information
RPSJR committed Nov 24, 2023
1 parent 1cd08c6 commit 0f07089
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions fleet_vehicle_ownership/tests/test_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,29 @@ def setUp(self):
)
self.vehicle1 = self.env["fleet.vehicle"].create(

Check warning on line 16 in fleet_vehicle_ownership/tests/test_partner.py

View check run for this annotation

Codecov / codecov/patch

fleet_vehicle_ownership/tests/test_partner.py#L16

Added line #L16 was not covered by tests
{
"name": "W14",
"owner_id": self.partner.id,
"license_plate": "1-ACK-554",
"vin_sn": "8833334",
"color": "Black",
"location": "Grand-Rosiere",
"doors": 5,
"driver_id": self.env.ref("base.user_demo_res_partner").id,
"odometer_unit": "kilometers",
"car_value": 20000,
"model_id": self.env.ref("fleet.model_astra").id,
}
)
self.vehicle2 = self.env["fleet.vehicle"].create(

Check warning on line 29 in fleet_vehicle_ownership/tests/test_partner.py

View check run for this annotation

Codecov / codecov/patch

fleet_vehicle_ownership/tests/test_partner.py#L29

Added line #L29 was not covered by tests
{
"name": "W13",
"owner_id": self.partner.id,
"license_plate": "1-ACK-544",
"vin_sn": "8833332",
"color": "Black",
"location": "Grand-Rosiere",
"doors": 5,
"driver_id": self.env.ref("base.user_demo_res_partner").id,
"owner_id": self.env.ref("base.user_demo_res_partner").id,
"odometer_unit": "kilometers",
"car_value": 30000,
"model_id": self.env.ref("fleet.model_astra").id,
}
)

Expand Down

0 comments on commit 0f07089

Please sign in to comment.