def test_adding_a_non_continuous_event_raises_error(
         self, registry: ContinuousEventsRegistry,
         full_scan_event: FullScanEvent):
     with pytest.raises(ContinuousEventRegistryException):
         registry.add_event(full_scan_event)
 def test_adding_a_non_continuous_event_raises_error(
         self, registry: ContinuousEventsRegistry, info_event):
     with pytest.raises(ContinuousEventRegistryException):
         registry.add_event(info_event)