We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7de096 commit c4cd05cCopy full SHA for c4cd05c
check_run/tests/test_check_run.py
@@ -225,12 +225,12 @@ def test_calculate_payment_term_discount_function():
225
last_month = first_of_current_month - datetime.timedelta(days=1)
226
first_of_last_month = last_month.replace(day=1)
227
last_day_of_last_month = last_month
228
-
+
229
# Simulate being on the 9th day of current month (within 10-day discount period)
230
simulated_today_within = first_of_current_month + datetime.timedelta(days=8) # day 9
231
# Simulate being on the 12th day of current month (outside 10-day discount period)
232
simulated_today_outside = first_of_current_month + datetime.timedelta(days=11) # day 12
233
234
cases = [
235
{
236
"desc": "2% 10 Net 30 - within the discount period",
0 commit comments