Skip to content

Commit c6bc1c6

Browse files
committed
update sync_data test cases
1 parent ef52fcc commit c6bc1c6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

aikido_zen/background_process/commands/sync_data_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_process_sync_data_initialization(setup_connection_manager):
9393
assert connection_manager.statistics.get_record()["requests"] == {
9494
"aborted": 0,
9595
"attacksDetected": {"blocked": 0, "total": 5},
96+
"attackWaves": {"total": 0, "blocked": 0},
9697
"total": 10,
9798
"rateLimited": 0,
9899
}
@@ -168,6 +169,7 @@ def test_process_sync_data_with_last_updated_at_below_zero(setup_connection_mana
168169
assert connection_manager.statistics.get_record()["requests"] == {
169170
"aborted": 0,
170171
"attacksDetected": {"blocked": 0, "total": 5},
172+
"attackWaves": {"total": 0, "blocked": 0},
171173
"total": 10,
172174
"rateLimited": 0,
173175
}
@@ -255,6 +257,7 @@ def test_process_sync_data_existing_route_and_hostnames(setup_connection_manager
255257
assert connection_manager.statistics.get_record()["requests"] == {
256258
"aborted": 0,
257259
"attacksDetected": {"blocked": 0, "total": 10},
260+
"attackWaves": {"total": 0, "blocked": 0},
258261
"total": 20,
259262
"rateLimited": 0,
260263
}

0 commit comments

Comments
 (0)