Skip to content

Commit

Permalink
Merge pull request #31 from NethServer/RemoveConfigureTest
Browse files Browse the repository at this point in the history
Remove configure test
  • Loading branch information
stephdl authored Mar 21, 2024
2 parents a2dfdab + bff2f3c commit 9368a9b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/crowdsec.robot
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ Check if crowdsec is installed correctly
&{output} = Evaluate ${output}
Set Suite Variable ${module_id} ${output.module_id}

Check if crowdsec can be configured
${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{"ban_local_network": true,"bantime": "1","dyn_bantime": true,"enable_online_api": true,"enroll_instance": "","helo_host": "","receiver_emails": [""],"whitelists": [""]}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Check if crowdsec is removed correctly
${rc} = Execute Command remove-module --no-preserve ${module_id}
... return_rc=True return_stdout=False
Expand Down

0 comments on commit 9368a9b

Please sign in to comment.