Odoo18-Base/addons/iap/tests/test_iap.py

11 lines
362 B
Python
Raw Permalink Normal View History

2025-03-10 11:12:23 +07:00
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.tests.common import TransactionCase
class TestIAP(TransactionCase):
def test_get_account(self):
account = self.env["iap.account"].get("random_service_name")
self.assertTrue(account.account_token, "Must be able to read the field")