: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
test: drop stale skipped cloud signup tests (#68729)
Raúl Negrón-Otero5ee383592097
diff --git a/posthog/api/test/test_signup.py b/posthog/api/test/test_signup.pyindex 6d7653099bb5..7885ced6bb4a 100644--- a/posthog/api/test/test_signup.py+++ b/posthog/api/test/test_signup.py@@ -855,59 +855,6 @@ class TestSignupAPI(APIBaseTest):def test_social_signup_with_allowed_domain_on_self_hosted(self, mock_sso_providers, mock_request, mock_capture):self.run_test_for_allowed_domain(mock_sso_providers, mock_request, mock_capture)- @unittest.skip("Skipping until fixed in Python 3.12+")- @patch("posthoganalytics.capture")- @mock.patch("ee.billing.billing_manager.BillingManager.update_billing_organization_users")- @mock.patch("social_core.backends.base.BaseAuth.request")- @mock.patch("posthog.api.authentication.get_instance_available_sso_providers")- @pytest.mark.ee- def test_social_signup_with_allowed_domain_on_cloud(- self,- mock_sso_providers,- mock_request,- mock_update_billing_organization_users,- mock_capture,- ):- with self.is_cloud(True):- self.run_test_for_allowed_domain(mock_sso_providers, mock_request, mock_capture)- mock_update_billing_organization_users.assert_called_once() # assert fails, error was shadowed in Python <3.12-- @unittest.skip("Skipping until fixed in Python 3.12+")- @patch("posthoganalytics.capture")- @mock.patch("ee.billing.billing_manager.BillingManager.update_billing_organization_users")- @mock.patch("social_core.backends.base.BaseAuth.request")- @mock.patch("posthog.api.authentication.get_instance_available_sso_providers")- @pytest.mark.ee- def test_social_signup_with_allowed_domain_on_cloud_with_existing_invite(- self,- mock_sso_providers,- mock_request,- mock_update_billing_organization_users,- mock_capture,- ):- with self.is_cloud(True):- self.run_test_for_allowed_domain(mock_sso_providers, mock_request, mock_capture, use_invite=True)- mock_update_billing_organization_users.assert_called_once() # assert fails, error was shadowed in Python <3.12-- @unittest.skip("Skipping until fixed in Python 3.12+")- @patch("posthoganalytics.capture")- @mock.patch("ee.billing.billing_manager.BillingManager.update_billing_organization_users")- @mock.patch("social_core.backends.base.BaseAuth.request")- @mock.patch("posthog.api.authentication.get_instance_available_sso_providers")- @pytest.mark.ee- def test_social_signup_with_allowed_domain_on_cloud_with_existing_expired_invite(- self,- mock_sso_providers,- mock_request,- mock_update_billing_organization_users,- mock_capture,- ):- with self.is_cloud(True):- self.run_test_for_allowed_domain(- mock_sso_providers, mock_request, mock_capture, use_invite=True, expired_invite=True- )- mock_update_billing_organization_users.assert_called_once() # assert fails, error was shadowed in Python <3.12-@mock.patch("social_core.backends.base.BaseAuth.request")@mock.patch("posthog.api.authentication.get_instance_available_sso_providers")@pytest.mark.ee