Renamed the "j_date" variable to "date" in the "__add_usd_recurring" method of the SampleData class in the reset module of the test site.
This commit is contained in:
parent
b5aa7e923f
commit
4f3339bf68
@ -122,9 +122,9 @@ class SampleData(BaseTestData):
|
|||||||
month: int
|
month: int
|
||||||
|
|
||||||
# Recurring in USD
|
# Recurring in USD
|
||||||
j_date: dt.date = dt.date(today.year - 5, today.month, today.day)
|
date: dt.date = dt.date(today.year - 5, today.month, today.day)
|
||||||
j_date = j_date + dt.timedelta(days=(4 - j_date.weekday()))
|
date = date + dt.timedelta(days=(4 - date.weekday()))
|
||||||
days = (today - j_date).days
|
days = (today - date).days
|
||||||
while True:
|
while True:
|
||||||
if days < 0:
|
if days < 0:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user