Skip to content

Commit

Permalink
Patch the ROBOT tetst (there should be more objects with the nibble a…
Browse files Browse the repository at this point in the history
…rchitecture because at this point in time they always run, maximizing available information)
  • Loading branch information
originalsouth committed Dec 18, 2024
1 parent b74d36a commit 779afb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions octopoes/tests/robot/02_list_objects.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ List Objects
Insert Normalizer Output
Await Sync
Object List Should Contain ${REF_HOSTNAME}
Total Object Count Should Be ${6}
Total Object Count Should Be ${8}

List Objects With Filter
Insert Normalizer Output
Expand Down Expand Up @@ -44,7 +44,7 @@ Load Bulk
*** Keywords ***
Verify Object List With Filter
${response_data} Get Objects With ScanLevel 0
Should Be Equal ${response_data["count"]} ${6}
Should Be Equal ${response_data["count"]} ${8}

Get Objects With ScanLevel 0
${params} Create Dictionary scan_level=0 valid_time=${VALID_TIME}
Expand All @@ -55,7 +55,7 @@ Get Objects With ScanLevel 0

Verify Object List With SearchString
${response_data} Get Objects With SearchString example.com
Should Be Equal ${response_data["count"]} ${4}
Should Be Equal ${response_data["count"]} ${5}

Get Objects With SearchString example.com
${params} Create Dictionary search_string=example.com valid_time=${VALID_TIME}
Expand Down
4 changes: 2 additions & 2 deletions octopoes/tests/robot/08_findings.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ List Findings
Declare Scan Profile Hostname|internet|example.com 1
Await Sync

Finding List Should Have Length 1
Finding Count Per Severity Should Be 'pending' 1
Finding List Should Have Length 2
Finding Count Per Severity Should Be 'pending' 2
Finding Count Per Severity Should Be 'low' 0
Finding Count Per Severity Should Be 'critical' 0

Expand Down

0 comments on commit 779afb7

Please sign in to comment.