Renamed the "j_date" variable to "date" in the "_init_data" method of the ReportTestData class in test_report.py.
This commit is contained in:
parent
359c335662
commit
b5aa7e923f
@ -450,11 +450,11 @@ class ReportTestData(BaseTestData):
|
|||||||
year: int = today.year - 5
|
year: int = today.year - 5
|
||||||
month: int = today.month
|
month: int = today.month
|
||||||
while True:
|
while True:
|
||||||
j_date: dt.date = dt.date(year, month, 5)
|
date: dt.date = dt.date(year, month, 5)
|
||||||
if j_date > today:
|
if date > today:
|
||||||
break
|
break
|
||||||
self._add_simple_journal_entry(
|
self._add_simple_journal_entry(
|
||||||
(j_date - today).days, "USD",
|
(date - today).days, "USD",
|
||||||
"Salary薪水", "1200", Accounts.BANK, Accounts.SERVICE)
|
"Salary薪水", "1200", Accounts.BANK, Accounts.SERVICE)
|
||||||
month = month + 1
|
month = month + 1
|
||||||
if month > 12:
|
if month > 12:
|
||||||
|
Loading…
Reference in New Issue
Block a user