Skip to content

Commit

Permalink
Merge branch 'v0.8.0-maint' into v0.8.0-maint
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-v committed Dec 23, 2020
2 parents 282fe68 + 87e65f3 commit 61d3626
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions delfin/tests/unit/drivers/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,8 @@ def test_list_controllers(self, mock_storage, mock_access_info,
mock_storage_create.return_value = storage
mock_fake.return_value = []
api = API()
api.discover_storage(context, ACCESS_INFO)

storage_id = '12345'
driver = api.driver_manager.driver_factory.get(storage_id, None)
self.assertIsNotNone(driver)

api.list_controllers(context, storage_id)
mock_fake.assert_called_once()
Expand All @@ -287,8 +284,6 @@ def test_list_ports(self, mock_storage, mock_access_info,
mock_storage_create.return_value = storage
mock_fake.return_value = []
api = API()
api.discover_storage(context, ACCESS_INFO)

storage_id = '12345'
driver = api.driver_manager.driver_factory.get(storage_id, None)
self.assertIsNotNone(driver)
Expand Down

0 comments on commit 61d3626

Please sign in to comment.