From 17c88de75d53cdd49aa91cb07686c45c9c09ffd7 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Fri, 5 Apr 2024 11:58:08 +0000 Subject: [PATCH] invoice_plans: Add comment to help with testing. This will help us run invoice plans on a specific date. Having this in comment here would save me time adding this every time. --- zilencer/management/commands/invoice_plans.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zilencer/management/commands/invoice_plans.py b/zilencer/management/commands/invoice_plans.py index 9cc0cf8b5b..61ba75b9a6 100644 --- a/zilencer/management/commands/invoice_plans.py +++ b/zilencer/management/commands/invoice_plans.py @@ -15,4 +15,7 @@ class Command(ZulipBaseCommand): @override def handle(self, *args: Any, **options: Any) -> None: if settings.BILLING_ENABLED: + # Uncomment to test with a specific date. + # from datetime import datetime, timezone + # date = datetime(2024, 5, 7, tzinfo=timezone.utc) invoice_plans_as_needed()