Loading src/opticalattackdetector/tests/test_unitary.py +1 −1 Original line number Diff line number Diff line Loading @@ -73,6 +73,6 @@ def test_detect_attack( request.service_id.service_uuid.uuid = str(uuid.uuid4()) request.kpi_id.kpi_id.uuid = "1" optical_attack_detector_client.DetectAttack(request) dbscanserving.assert_called_once() dbscanserving.assert_called() monitoring.assert_called_once() mitigator.NotifyAttack.assert_called() Loading
src/opticalattackdetector/tests/test_unitary.py +1 −1 Original line number Diff line number Diff line Loading @@ -73,6 +73,6 @@ def test_detect_attack( request.service_id.service_uuid.uuid = str(uuid.uuid4()) request.kpi_id.kpi_id.uuid = "1" optical_attack_detector_client.DetectAttack(request) dbscanserving.assert_called_once() dbscanserving.assert_called() monitoring.assert_called_once() mitigator.NotifyAttack.assert_called()