diff --git a/tests/test_device_control_policies.py b/tests/test_device_control_policies.py index 541fd4e1c..9b79bb7aa 100644 --- a/tests/test_device_control_policies.py +++ b/tests/test_device_control_policies.py @@ -57,7 +57,7 @@ def serviceDeviceControlPolicies_GenerateErrors(self): ["queryCombinedDeviceControlPolicyMembers", ""], ["queryCombinedDeviceControlPolicies", ""], ["performDeviceControlPoliciesAction", "body={}, parameters={}, action_name='enable'"], - ["performDeviceControlPoliciesAction", "body={}, parameters={}, action_name='PooF'"], + ["performDeviceControlPoliciesAction", "body={}, parameters={'action_name':'PooF'}"], ["setDeviceControlPoliciesPrecedence", "body={}"], ["getDeviceControlPolicies", "ids='12345678'"], ["createDeviceControlPolicies", "body={}"], diff --git a/tests/test_firewall_policies.py b/tests/test_firewall_policies.py index d683ab801..9d9ad90df 100644 --- a/tests/test_firewall_policies.py +++ b/tests/test_firewall_policies.py @@ -34,7 +34,7 @@ def serviceFirewall_GenerateErrors(self): ["queryCombinedFirewallPolicyMembers", ""], ["queryCombinedFirewallPolicies", ""], ["performFirewallPoliciesAction", "action_name='enable', body={}, parameters={}"], - ["performFirewallPoliciesAction", "action_name='make-it-go-boom', body={}, parameters={}"], + ["performFirewallPoliciesAction", "body={}, parameters={'action_name':'PooF'}"], ["setFirewallPoliciesPrecedence", "body={}"], ["getFirewallPolicies", "ids='12345678'"], ["createFirewallPolicies", "body={}"], diff --git a/tests/test_host_group.py b/tests/test_host_group.py index da00ae376..6dd472ef7 100644 --- a/tests/test_host_group.py +++ b/tests/test_host_group.py @@ -57,7 +57,7 @@ def serviceHostGroup_GenerateErrors(self): ["queryCombinedGroupMembers", ""], ["queryCombinedHostGroups", ""], ["performGroupAction", "action_name='add-hosts', body={}, parameters={}"], - ["performGroupAction", "action_name='iLikeErrorMessages', body={}, parameters={}"], + ["performGroupAction", "body={}, parameters={'action_name':'PooF'}"], ["getHostGroups", "ids='12345678'"], ["createHostGroups", "body={}"], ["deleteHostGroups", "ids='12345678'"], diff --git a/tests/test_hosts.py b/tests/test_hosts.py index e3dd67e12..9c952860b 100644 --- a/tests/test_hosts.py +++ b/tests/test_hosts.py @@ -108,7 +108,7 @@ def serviceHosts_GenerateErrors(self): errorChecks = True commandList = [ ["PerformActionV2","body={}, action_name='unhide_host', parameters={}"], - ["PerformActionV2","body={}, action_name='KErrrPOW', parameters={}"], + ["PerformActionV2","body={}, parameters={'action_name':'PooF'}"], ["GetDeviceDetails", "ids='12345678'"], ["QueryHiddenDevices", ""], ["QueryDevicesByFilterScroll", ""], diff --git a/tests/test_prevention_policy.py b/tests/test_prevention_policy.py index 11a1c8bd2..0b607db1f 100644 --- a/tests/test_prevention_policy.py +++ b/tests/test_prevention_policy.py @@ -57,7 +57,7 @@ def servicePrevent_GenerateErrors(self): ["queryCombinedPreventionPolicyMembers", ""], ["queryCombinedPreventionPolicies", ""], ["performPreventionPoliciesAction", "body={}, action_name='enable', parameters={}"], - ["performPreventionPoliciesAction", "body={}, action_name='kaB00M', parameters={}"], + ["performPreventionPoliciesAction", "body={}, parameters={'action_name':'PooF'}"], ["setPreventionPoliciesPrecedence", "body={}"], ["getPreventionPolicies", "ids='12345678'"], ["createPreventionPolicies", "body={}"], diff --git a/tests/test_sensor_update_policy.py b/tests/test_sensor_update_policy.py index 4c8b785c4..ff30dce7f 100644 --- a/tests/test_sensor_update_policy.py +++ b/tests/test_sensor_update_policy.py @@ -72,7 +72,7 @@ def serviceSensorUpdate_GenerateErrors(self): ["updateSensorUpdatePolicies", "body={}"], ["updateSensorUpdatePoliciesV2", "body={}"], ["performSensorUpdatePoliciesAction", "body={}, action_name='enable', parameters={}"], - ["performSensorUpdatePoliciesAction", "body={}, action_name='ThisWillFail', parameters={}"], + ["performSensorUpdatePoliciesAction", "body={}, parameters={'action_name':'PooF'}"], ["setSensorUpdatePoliciesPrecedence", "body={}"], ["queryCombinedSensorUpdatePoliciesV2",""] ]