Skip to content

Commit

Permalink
[16.0][ADD] hr_timesheet_sheet_warning: imporve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraCForgeFlow committed Feb 29, 2024
1 parent ecd7443 commit 9050acf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ def test_03_timesheet_warnings_with_domain(self):
sheet_2.action_generate_warnings()
self.assertEqual(len(sheet_1.hr_timesheet_sheet_warning_item_ids), 1)
self.assertEqual(len(sheet_2.hr_timesheet_sheet_warning_item_ids), 0)
sheet_2.action_generate_warnings()
self.assertEqual(len(sheet_2.hr_timesheet_sheet_warning_item_ids), 0)

def test_04_timesheet_warnings_on_confirm(self):
sheet_form = Form(self.sheet_model.with_user(self.user))
Expand Down

0 comments on commit 9050acf

Please sign in to comment.