def test_forwards_share_if_local_content(self, mock_rq):
entity = base.Share(
guid=str(uuid4()), handle=self.remote_profile.handle, target_guid=self.local_content.guid,
target_handle=self.local_content.author.handle, public=True,
)
process_entity_share(entity, self.remote_profile)
mock_rq.assert_called_once_with(forward_entity, entity, self.local_content.id)
评论列表
文章目录