diff --git a/src/opticalattackdetector/tests/test_unitary.py b/src/opticalattackdetector/tests/test_unitary.py
index 9a4e23c8fc28a25f3747d5dc8d485c3eca4ec17e..c1db52f03c0299e8d037bb3d920b711d57a8b463 100644
--- a/src/opticalattackdetector/tests/test_unitary.py
+++ b/src/opticalattackdetector/tests/test_unitary.py
@@ -74,5 +74,5 @@ def test_detect_attack(
             request.kpi_id.kpi_id.uuid = "1"
             optical_attack_detector_client.DetectAttack(request)
             dbscanserving.assert_called()
-            monitoring.assert_called_once()
+            monitoring.assert_called()
         mitigator.NotifyAttack.assert_called()