ai*
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import test_hr_job_preview_cards
|
||||
@@ -0,0 +1,14 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.tests import TransactionCase
|
||||
|
||||
from odoo.addons.ai_website_livechat.tests.common import AIPreviewCardCase
|
||||
|
||||
|
||||
class TestAIHrJobPreviewCards(AIPreviewCardCase, TransactionCase):
|
||||
def test_hr_job_preview_card_renders(self):
|
||||
job = self.env['hr.job'].create({
|
||||
'name': 'AI Preview Job',
|
||||
'is_published': True,
|
||||
})
|
||||
self.assertPreviewCardsRender(job, ['AI Preview Job'], expected_count=1)
|
||||
Reference in New Issue
Block a user