From 1a212a53302e9ceb5fd65ac3d6c73e561db3cd4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 29 Jul 2023 11:59:23 +0800 Subject: [PATCH] Updated the documentation of the test_init test of the ConsoleCommandTestCase test case. --- tests/test_commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_commands.py b/tests/test_commands.py index f09eb5d..a2ffaec 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -45,13 +45,13 @@ class ConsoleCommandTestCase(unittest.TestCase): """The Flask application.""" def test_init(self) -> None: - """Tests the "accounting-init" console command. + """Tests the "accounting-init-db" console command. :return: None. """ with self.__app.app_context(): - # Drop every accounting table, to see if accounting-init recreates - # them correctly. + # Drop every accounting table, to see if accounting-init-db + # recreates them correctly. tables: list[sa.Table] \ = [db.metadata.tables[x] for x in db.metadata.tables if x.startswith("accounting_")]