Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(test): use TestCase for agent proxy callback tests (#66338)

Georges-Antoine Assifceae881f9a0
diff --git a/products/tasks/backend/tests/test_agent_proxy_callback.py b/products/tasks/backend/tests/test_agent_proxy_callback.py
index 35a625d84c5e..66be24830178 100644
--- a/products/tasks/backend/tests/test_agent_proxy_callback.py
+++ b/products/tasks/backend/tests/test_agent_proxy_callback.py
@@ -3,7 +3,7 @@ from typing import Any
from unittest.mock import patch
-from django.test import TransactionTestCase, override_settings
+from django.test import TestCase, override_settings
from parameterized import parameterized
@@ -18,7 +18,7 @@ from products.tasks.backend.tests.test_api import TEST_RSA_PRIVATE_KEY
@override_settings(SANDBOX_JWT_PRIVATE_KEY=TEST_RSA_PRIVATE_KEY)
-class TestAgentProxyCallback(TransactionTestCase):
+class TestAgentProxyCallback(TestCase):
def setUp(self) -> None:
super().setUp()
reset_sandbox_jwt_key_cache()