From a6932fbf605e80f17347582e43b92fc8381419a0 Mon Sep 17 00:00:00 2001 From: Jaixii Date: Mon, 20 Jul 2026 21:26:04 -0400 Subject: [PATCH] fix(tests): remove duplicate _registry_rows() definition in test_billing.py (ruff F811) --- tests/test_billing.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/test_billing.py b/tests/test_billing.py index 98de675..5d354cc 100644 --- a/tests/test_billing.py +++ b/tests/test_billing.py @@ -748,19 +748,6 @@ def _registry_rows(): conn.close() - -def _registry_rows(): - from engraphis.inspector import license_registry as reg - conn = reg.connect() - try: - rows = conn.execute( - "SELECT key_id, status, subscription_id, order_id FROM issued_licenses " - "ORDER BY created_at").fetchall() - return [dict(row) for row in rows] - finally: - conn.close() - - def test_trial_subscription_issues_short_lived_key(monkeypatch): from engraphis.inspector import webhooks as WH monkeypatch.setenv("ENGRAPHIS_VENDOR_SIGNING_KEY", VENDOR_SEED)