Skip to content

Commit

Permalink
[REF] use super() instead of super(__class__, self)
Browse files Browse the repository at this point in the history
  • Loading branch information
elheit committed Nov 4, 2024
1 parent 548fc08 commit bf9bcbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ def _track_subtype(self, init_values):
"fleet_vehicle_service_kanban."
"mail_message_subtype_fleet_service_user_updated"
)
return super(FleetVehicleLogServices, self)._track_subtype(init_values)
return super()._track_subtype(init_values)

Check warning on line 68 in fleet_vehicle_service_kanban/models/fleet_vehicle_log_services.py

View check run for this annotation

Codecov / codecov/patch

fleet_vehicle_service_kanban/models/fleet_vehicle_log_services.py#L68

Added line #L68 was not covered by tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class TestFleetVehicleLogServices(TransactionCase):
def setUp(self):
super(TestFleetVehicleLogServices, self).setUp()
super().setUp()

self.user = self.env["res.users"].create(
{
Expand Down

0 comments on commit bf9bcbb

Please sign in to comment.