Skip to content

Commit f300b89

Browse files
committed
Fix UT cases
Signed-off-by: Luis Liu <[email protected]>
1 parent 9557fe0 commit f300b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/plugins/modules/test_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def test_get_facts_alert_settings_api_911_module(self, powerscale_module_mock, i
618618
powerscale_module_mock.major = 9
619619
powerscale_module_mock.minor = 11
620620
powerscale_module_mock.module.params = self.get_module_args
621-
with patch.object(powerscale_module_mock.event_api,
621+
with patch.object(powerscale_module_mock.cluster_api,
622622
MockGatherfactsApi.get_gather_facts_error_method(gather_subset)) as mock_method:
623623
mock_method.return_value = MockSDKResponse(api_response)
624624
powerscale_module_mock.perform_module_operation()

0 commit comments

Comments
 (0)