Revised the documentation of the PREFIX constant in test_account.py, test_currency.py, and test_transaction.py.

This commit is contained in:
依瑪貓 2023-03-01 20:22:27 +08:00
parent f3548a2327
commit 2839dc60b4
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ stock: AccountData = AccountData("1121", 1, "Stock")
loan: AccountData = AccountData("2112", 1, "Loan")
"""The loan account."""
PREFIX: str = "/accounting/accounts"
"""The URL prefix of the currency management."""
"""The URL prefix for the account management."""
class AccountCommandTestCase(unittest.TestCase):

View File

@ -55,7 +55,7 @@ zzc: CurrencyData = CurrencyData("ZZC", "Testing Dollar #C")
zzd: CurrencyData = CurrencyData("ZZD", "Testing Dollar #D")
"""The fourth test currency."""
PREFIX: str = "/accounting/currencies"
"""The URL prefix of the currency management."""
"""The URL prefix for the currency management."""
class CurrencyCommandTestCase(unittest.TestCase):

View File

@ -34,7 +34,7 @@ from testlib_txn import Accounts, get_add_form, get_unchanged_update_form, \
NON_EMPTY_NOTE, EMPTY_NOTE, add_txn
PREFIX: str = "/accounting/transactions"
"""The URL prefix of the transaction management."""
"""The URL prefix for the transaction management."""
class CashIncomeTransactionTestCase(unittest.TestCase):