Skip to content

Commit

Permalink
Merge branch 'master' into return_in_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
skdwriting authored Apr 22, 2022
2 parents b4250de + 72babd7 commit d66bfb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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):
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

0 comments on commit d66bfb4

Please sign in to comment.