account-closing/account_cutoff_base/tests/test_account_cutoff.py

13 lines
359 B
Python
Raw Permalink Normal View History

2021-03-23 19:28:14 +00:00
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from flectra.tests.common import SavepointCase
class TestAccountCutoff(SavepointCase):
def test_default_cutoff_account_id(self):
account_id = \
self.env['account.cutoff']._default_cutoff_account_id()
self.assertIsNone(account_id, 'The account must be none')