Browse Source

ref: mark this test as abstract (#76996)

pytest 8.2 attempts to instantiate this test erroneously despite it
being abstract

<!-- Describe your PR here. -->
anthony sottile 6 months ago
parent
commit
0ee416db3c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/sentry/incidents/action_handlers/__init__.py

+ 3 - 0
tests/sentry/incidents/action_handlers/__init__.py

@@ -2,10 +2,13 @@ import abc
 
 from sentry.incidents.logic import update_incident_status
 from sentry.incidents.models.incident import Incident, IncidentStatus, IncidentStatusMethod
+from sentry.testutils.abstract import Abstract
 from sentry.testutils.cases import TestCase
 
 
 class FireTest(TestCase, abc.ABC):
+    __test__ = Abstract(__module__, __qualname__)
+
     @abc.abstractmethod
     def run_test(self, incident: Incident, method: str, **kwargs):
         pass