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:
imacat committed 2023-02-03 12:55:54 +08:00
1 parent e9f6b769f4
commit e29b99b0a7
12 files changed
+62 -90

No files matched your search

+2 -1
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)