Files
flectra/addons/iap/tests/test_iap.py
T

11 lines
374 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from flectra.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")