UT: Mark TestEvent* classes with `__test__ = False`

This commit is contained in:
Mike Salvatore 2022-08-15 14:04:09 -04:00
parent 4e9aa62c61
commit 96f794e192
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ EVENT_TAG_2 = "event tag 2"
@dataclass(frozen=True) @dataclass(frozen=True)
class TestEvent1(AbstractEvent): class TestEvent1(AbstractEvent):
__test__ = False
source: UUID = UUID("f811ad00-5a68-4437-bd51-7b5cc1768ad5") source: UUID = UUID("f811ad00-5a68-4437-bd51-7b5cc1768ad5")
target: Union[UUID, IPv4Address, None] = None target: Union[UUID, IPv4Address, None] = None
timestamp: float = 0.0 timestamp: float = 0.0
@ -23,6 +24,7 @@ class TestEvent1(AbstractEvent):
@dataclass(frozen=True) @dataclass(frozen=True)
class TestEvent2(AbstractEvent): class TestEvent2(AbstractEvent):
__test__ = False
source: UUID = UUID("e810ad01-6b67-9446-fc58-9b8d717653f7") source: UUID = UUID("e810ad01-6b67-9446-fc58-9b8d717653f7")
target: Union[UUID, IPv4Address, None] = None target: Union[UUID, IPv4Address, None] = None
timestamp: float = 0.0 timestamp: float = 0.0