From 2f4aa10226b833fa9d852ad37db257c5183e692d Mon Sep 17 00:00:00 2001 From: Carlos Natalino <carlos.natalino@chalmers.se> Date: Wed, 14 Feb 2024 11:02:34 +0000 Subject: [PATCH] Improving the assertion 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 97e5a68d2..9a4e23c8f 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() -- GitLab