Revised the documentation of the PREFIX constant in test_account.py, test_currency.py, and test_transaction.py.
This commit is contained in:
parent
f3548a2327
commit
2839dc60b4
@ -62,7 +62,7 @@ stock: AccountData = AccountData("1121", 1, "Stock")
|
|||||||
loan: AccountData = AccountData("2112", 1, "Loan")
|
loan: AccountData = AccountData("2112", 1, "Loan")
|
||||||
"""The loan account."""
|
"""The loan account."""
|
||||||
PREFIX: str = "/accounting/accounts"
|
PREFIX: str = "/accounting/accounts"
|
||||||
"""The URL prefix of the currency management."""
|
"""The URL prefix for the account management."""
|
||||||
|
|
||||||
|
|
||||||
class AccountCommandTestCase(unittest.TestCase):
|
class AccountCommandTestCase(unittest.TestCase):
|
||||||
|
@ -55,7 +55,7 @@ zzc: CurrencyData = CurrencyData("ZZC", "Testing Dollar #C")
|
|||||||
zzd: CurrencyData = CurrencyData("ZZD", "Testing Dollar #D")
|
zzd: CurrencyData = CurrencyData("ZZD", "Testing Dollar #D")
|
||||||
"""The fourth test currency."""
|
"""The fourth test currency."""
|
||||||
PREFIX: str = "/accounting/currencies"
|
PREFIX: str = "/accounting/currencies"
|
||||||
"""The URL prefix of the currency management."""
|
"""The URL prefix for the currency management."""
|
||||||
|
|
||||||
|
|
||||||
class CurrencyCommandTestCase(unittest.TestCase):
|
class CurrencyCommandTestCase(unittest.TestCase):
|
||||||
|
@ -34,7 +34,7 @@ from testlib_txn import Accounts, get_add_form, get_unchanged_update_form, \
|
|||||||
NON_EMPTY_NOTE, EMPTY_NOTE, add_txn
|
NON_EMPTY_NOTE, EMPTY_NOTE, add_txn
|
||||||
|
|
||||||
PREFIX: str = "/accounting/transactions"
|
PREFIX: str = "/accounting/transactions"
|
||||||
"""The URL prefix of the transaction management."""
|
"""The URL prefix for the transaction management."""
|
||||||
|
|
||||||
|
|
||||||
class CashIncomeTransactionTestCase(unittest.TestCase):
|
class CashIncomeTransactionTestCase(unittest.TestCase):
|
||||||
|
Loading…
Reference in New Issue
Block a user