Skip to content

Commit ee8bed1

Browse files
committed
revert test changes
1 parent 9f89500 commit ee8bed1

File tree

100 files changed

+1
-501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1
-501
lines changed

tests/sentry/api/bases/test_team.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,3 @@ def test_api_key_with_wrong_access_for_method(self) -> None:
297297
assert self.has_object_perm("POST", self.team, auth=key)
298298
assert self.has_object_perm("PUT", self.team, auth=key)
299299
assert not self.has_object_perm("DELETE", self.team, auth=key)
300-
301-
302-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
303-
def test_intentional_failure_for_ci_reporting():
304-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/endpoints/test_accept_project_transfer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,3 @@ def test_use_org_when_team_and_org_provided(self, send_robust: MagicMock) -> Non
185185
p = Project.objects.get(id=self.project.id)
186186
assert p.organization_id == self.to_organization.id
187187
assert send_robust.called
188-
189-
190-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
191-
def test_intentional_failure_for_ci_reporting():
192-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/endpoints/test_organization_access_requests.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,3 @@ def test_member_empty_results(self) -> None:
7979

8080
assert resp.status_code == 200
8181
assert len(resp.data) == 0
82-
83-
84-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
85-
def test_intentional_failure_for_ci_reporting():
86-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/endpoints/test_organization_auth_provider_details.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,3 @@ def test_with_auth_provider_and_customer_domain(self) -> None:
6262
"require_link": True,
6363
"scim_enabled": True,
6464
}
65-
66-
67-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
68-
def test_intentional_failure_for_ci_reporting():
69-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/endpoints/test_user_organizations.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,3 @@ def test_simple(self) -> None:
1414
response = self.get_success_response("me")
1515
assert len(response.data) == 1
1616
assert response.data[0]["id"] == str(organization_id)
17-
18-
19-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
20-
def test_intentional_failure_for_ci_reporting():
21-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/helpers/test_deprecation.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,3 @@ def test_with_url_names_brownout(self) -> None:
283283
resp = dummy_endpoint(request)
284284
assert resp.status_code == HTTP_200_OK
285285
assert "X-Sentry-Deprecation-Date" not in resp
286-
287-
288-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
289-
def test_intentional_failure_for_ci_reporting():
290-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/test_paginator.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,3 @@ def data_fn(limit, page_token):
10131013
assert actual_page_token == expected_page_token
10141014

10151015
page = paginator.get_result(limit=3, cursor=page.next)
1016-
1017-
1018-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
1019-
def test_intentional_failure_for_ci_reporting():
1020-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/api/test_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,3 @@ def test_clamps_to_end(self) -> None:
267267
datetime.datetime(2024, 1, 13),
268268
end,
269269
)
270-
271-
272-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
273-
def test_intentional_failure_for_ci_reporting():
274-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/auth/providers/fly/test_provider.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,3 @@ def setUp(self) -> None:
8484
self.auth_provider = AuthProvider.objects.create(
8585
provider=ChannelName.FLY_NON_PARTNER.value, organization_id=self.organization.id
8686
)
87-
88-
89-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
90-
def test_intentional_failure_for_ci_reporting():
91-
assert False, "Intentional failure to test backend CI failure reporting"

tests/sentry/backup/test_coverage.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,3 @@ def test_all_eligible_organization_scoped_models_tested_for_user_merge() -> None
135135
assert not {str(u) for u in untested}, (
136136
"The aforementioned models are not covered in the `ORG_MEMBER_MERGE` backup tests; please go to `tests/sentry/models/test_user.py::UserMergeToTest` and make sure at least one test in the suite contains covers each of the missing models."
137137
)
138-
139-
140-
# TEMPORARY: intentional failure to test CI reporting (remove after verifying)
141-
def test_intentional_failure_for_ci_reporting():
142-
assert False, "Intentional failure to test backend CI failure reporting"

0 commit comments

Comments
 (0)