Skip to content

Commit

Permalink
Merge pull request #549 from luojiagen/emc_scaleio_2022
Browse files Browse the repository at this point in the history
update scaleio initiators descroption
  • Loading branch information
ghxiaobo authored Jun 7, 2022
2 parents 175aa2f + 22eb3de commit 2adf0f3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def test_list_alert(self):
side_effect=[test_constans.SYSTEM_ALERT_INFO])
storage_alert = ScaleioStorageDriver(**ACCESS_INFO).\
list_alerts(context)
self.assertEqual(storage_alert, test_constans.SYSTEM_ALERT)
alert_result = test_constans.SYSTEM_ALERT
alert_result[0]['occur_time'] = storage_alert[0]['occur_time']
self.assertEqual(storage_alert, alert_result)

def test_list_storage_host_initiators(self):
RestHandler.get_rest_info = mock.Mock(
Expand Down

0 comments on commit 2adf0f3

Please sign in to comment.