diff --git a/src/opticalattackdetector/tests/test_unitary.py b/src/opticalattackdetector/tests/test_unitary.py index 97e5a68d2f87d52a8d3397338c6c16cb9fbd4b57..9a4e23c8fc28a25f3747d5dc8d485c3eca4ec17e 100644 --- a/src/opticalattackdetector/tests/test_unitary.py +++ b/src/opticalattackdetector/tests/test_unitary.py @@ -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()