Revised the import in the test_init test of the BaseAccountTestCase test case.

This commit is contained in:
依瑪貓 2023-02-01 23:25:19 +08:00
parent 581e803707
commit c68786f78a

View File

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