Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion delfin/tests/unit/api/fakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def fake_access_infos_show_all(context):
return [access_info]


def fake_update_access_info(self, context, access_info):
def fake_update_access_info(self, context):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update caller of this function too. (Please check, file delfin/tests/unit/api/v1/test_access_info.py)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

access_info = models.AccessInfo()

access_info.updated_at = '2020-06-15T09:50:31.698956'
Expand Down
2 changes: 1 addition & 1 deletion delfin/tests/unit/api/v1/test_access_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_access_info_update(self):
db, 'access_info_get',
fakes.fake_access_info_show)

fake_access_info = fakes.fake_update_access_info(None, None, None)
fake_access_info = fakes.fake_update_access_info(None, None)
self.mock_object(
self.controller.driver_api, 'update_access_info',
mock.Mock(return_value=fake_access_info))
Expand Down