def test_does_not_forward_share_if_not_local_content(self, mock_rq):
entity = base.Share(
guid=str(uuid4()), handle=self.remote_profile.handle, target_guid=self.remote_content.guid,
target_handle=self.remote_content.author.handle, public=True,
)
process_entity_share(entity, self.remote_profile)
self.assertFalse(mock_rq.called)
评论列表
文章目录