Merged the "accounting.base_account.models" and "accounting.account.models" modules into the new "accounting.modules" module, so that the data models can reference one another.

This commit is contained in:
2023-02-01 15:44:58 +08:00
parent e9f6b769f4
commit e29b99b0a7
12 changed files with 62 additions and 90 deletions

View File

@ -54,7 +54,8 @@ class BaseAccountTestCase(unittest.TestCase):
:return: None.
"""
from accounting.base_account.models import BaseAccount, BaseAccountL10n
from accounting.models import BaseAccountL10n
from accounting.models import BaseAccount
runner: FlaskCliRunner = self.app.test_cli_runner()
result: Result = runner.invoke(args="accounting-init-base")
self.assertEqual(result.exit_code, 0)