Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuelle Helly committed Aug 1, 2022
1 parent c7f6652 commit d5173b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrek/core/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def test_status_draft_alert(self):
self.assertEqual(len(mail.outbox), 1)

@override_settings(ALERT_REVIEW=True)
@mock.patch('geotrek.common.mixins.models.mail_managers')
@mock.patch('geotrek.core.models.mail_managers')
def test_status_draft_fail_mail(self, mock_mail):
mock_mail.side_effect = Exception("Test")
p1 = PathFactory.create()
Expand Down

0 comments on commit d5173b5

Please sign in to comment.