Skip to content

Commit 8ee4e23

Browse files
authored
fix(ghe): Disable tests running against real host (#46441)
Ops turned off a host the tests were running against. We can re-enable them when we mock them.
1 parent 9e3f5bb commit 8ee4e23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/sentry/integrations/github_enterprise/test_webhooks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from unittest.mock import patch
33
from uuid import uuid4
44

5+
import pytest
56
from django.utils import timezone
67

78
from fixtures.github_enterprise import (
@@ -101,6 +102,7 @@ def test_missing_signature_ok(self, mock_installation):
101102

102103
@region_silo_test
103104
class PushEventWebhookTest(APITestCase):
105+
@pytest.mark.skip(reason="Host has been taken down")
104106
@patch("sentry.integrations.github_enterprise.client.get_jwt")
105107
@patch("sentry.integrations.github_enterprise.webhook.get_installation_metadata")
106108
def test_simple(self, mock_get_installation_metadata, mock_get_jwt):
@@ -251,6 +253,7 @@ def test_anonymous_lookup(self, mock_get_installation_metadata):
251253
assert commit.author.email == "[email protected]"
252254
assert commit.date_added == datetime(2015, 5, 5, 23, 40, 15, tzinfo=timezone.utc)
253255

256+
@pytest.mark.skip(reason="Host has been taken down")
254257
@patch("sentry.integrations.github_enterprise.client.get_jwt")
255258
@patch("sentry.integrations.github_enterprise.webhook.get_installation_metadata")
256259
def test_multiple_orgs(self, mock_get_installation_metadata, mock_get_jwt):

0 commit comments

Comments
 (0)