Browse Source

chore(hybrid-cloud): Update SentryAppInstallationDocsTest to run in control silo (#64416)

Annotate
`tests/apidocs/endpoints/integration_platform/test_sentry_app_installations.py`
to run in the control silo, since the `SentryAppInstallationsEndpoint`
endpoint is marked to run only in the control silo.
Alberto Leal 1 year ago
parent
commit
193ed24226

+ 3 - 1
tests/apidocs/endpoints/integration_platform/test_sentry_app_installations.py

@@ -3,9 +3,11 @@ from django.urls import reverse
 
 from fixtures.apidocs_test_case import APIDocsTestCase
 from sentry.models.integrations.sentry_app_installation import SentryAppInstallation
+from sentry.testutils.silo import control_silo_test
 
 
-class SentryAppInstallationDocs(APIDocsTestCase):
+@control_silo_test
+class SentryAppInstallationDocsTest(APIDocsTestCase):
     def setUp(self):
         self.user = self.create_user("foo@example.com")
         self.org = self.create_organization(name="Jessla", owner=None)