19 lines
478 B
Python
19 lines
478 B
Python
"""Smoke tests for the fusion follow-up cron handlers."""
|
|
|
|
from odoo.tests import tagged
|
|
from odoo.tests.common import TransactionCase
|
|
|
|
|
|
@tagged('post_install', '-at_install')
|
|
class TestFollowupCron(TransactionCase):
|
|
|
|
def setUp(self):
|
|
super().setUp()
|
|
self.cron = self.env['fusion.followup.cron']
|
|
|
|
def test_cron_daily_scan_runs(self):
|
|
self.cron._cron_daily_scan()
|
|
|
|
def test_cron_risk_refresh_runs(self):
|
|
self.cron._cron_risk_refresh()
|