Skip to content
Snippets Groups Projects
Commit e6cf4df7 authored by Carlos Natalino Da Silva's avatar Carlos Natalino Da Silva
Browse files

Adjusting the tests to match the cluster indices required.

parent c0d4f085
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!210Fixing issues with the WebUI and the optical cybersecurity module
......@@ -55,7 +55,7 @@ def test_detect_attack(
optical_attack_detector_client: OpticalAttackDetectorClient,
):
message = dbscan.DetectionResponse()
message.cluster_indices.extend([0, 1, -1, -1, -1])
message.cluster_indices.extend([0, 1] * 5 + [-1] * 10)
with patch(
"opticalattackdetector.service.OpticalAttackDetectorServiceServicerImpl.attack_mitigator_client"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment