From 2d53cea64683faa49f9a9a9266401fb6eb37173d Mon Sep 17 00:00:00 2001 From: Carlos Natalino <carlos.natalino@chalmers.se> Date: Wed, 14 Feb 2024 11:03:00 +0000 Subject: [PATCH] Improving the assertions of calls. --- src/opticalattackdetector/tests/test_unitary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opticalattackdetector/tests/test_unitary.py b/src/opticalattackdetector/tests/test_unitary.py index 9a4e23c8f..c1db52f03 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() -- GitLab