{"action":"created","comment":{"url":"https://api.github.com/repos/owncloud/pyocclient/pulls/comments/49074575","id":49074575,"diff_hunk":"@@ -582,6 +588,30 @@ def test_share_with_link(self, file_name):\n         self.assertTrue(type(share_info.get_link()) is str)\n         self.assertTrue(type(share_info.get_token()) is str)\n \n+    @data_provider(files)\n+    def test_share_with_link_greater_8_2(self, file_name):\n+        \"\"\"Test sharing a file with link\"\"\"\n+\n+        current_version = self.client.get_version().split('.')\n+        current_version_major = current_version[0]\n+        current_version_minor = current_version[1]\n+        if ((current_version_major < '8') or ((current_version_major == '8') and (current_version_minor < '2'))):","path":"owncloud/test/test.py","position":28,"original_position":28,"commit_id":"593b160378ae7e4685eac3cd15146c0940acc25c","original_commit_id":"593b160378ae7e4685eac3cd15146c0940acc25c","user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"body":"Yes, thats right. (not sure why it didn't failed)","created_at":"2016-01-07T13:55:49Z","updated_at":"2016-01-07T13:55:49Z","html_url":"https://github.com/owncloud/pyocclient/pull/143#discussion_r49074575","pull_request_url":"https://api.github.com/repos/owncloud/pyocclient/pulls/143","_links":{"self":{"href":"https://api.github.com/repos/owncloud/pyocclient/pulls/comments/49074575"},"html":{"href":"https://github.com/owncloud/pyocclient/pull/143#discussion_r49074575"},"pull_request":{"href":"https://api.github.com/repos/owncloud/pyocclient/pulls/143"}}},"pull_request":{"url":"https://api.github.com/repos/owncloud/pyocclient/pulls/143","id":54455763,"html_url":"https://github.com/owncloud/pyocclient/pull/143","diff_url":"https://github.com/owncloud/pyocclient/pull/143.diff","patch_url":"https://github.com/owncloud/pyocclient/pull/143.patch","issue_url":"https://api.github.com/repos/owncloud/pyocclient/issues/143","number":143,"state":"open","locked":false,"title":"Adapted PR 120 to new structure","user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"body":"Follow up of https://github.com/owncloud/pyocclient/pull/120\r\n\r\nIt adds the expiration date support.\r\n\r\n@PVince81 Please review.","created_at":"2015-12-23T10:15:56Z","updated_at":"2016-01-07T13:55:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a57267e35db69940bbda3e67409700132dc0fd2e","assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/pyocclient/milestones/2","html_url":"https://github.com/owncloud/pyocclient/milestones/0.3","labels_url":"https://api.github.com/repos/owncloud/pyocclient/milestones/2/labels","id":932115,"number":2,"title":"0.3","description":"","creator":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-01-12T19:34:17Z","updated_at":"2015-12-23T11:02:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/owncloud/pyocclient/pulls/143/commits","review_comments_url":"https://api.github.com/repos/owncloud/pyocclient/pulls/143/comments","review_comment_url":"https://api.github.com/repos/owncloud/pyocclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/pyocclient/issues/143/comments","statuses_url":"https://api.github.com/repos/owncloud/pyocclient/statuses/593b160378ae7e4685eac3cd15146c0940acc25c","head":{"label":"owncloud:adding_expiration_date","ref":"adding_expiration_date","sha":"593b160378ae7e4685eac3cd15146c0940acc25c","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":18858610,"name":"pyocclient","full_name":"owncloud/pyocclient","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/pyocclient","description":"ownCloud client library for Python","fork":false,"url":"https://api.github.com/repos/owncloud/pyocclient","forks_url":"https://api.github.com/repos/owncloud/pyocclient/forks","keys_url":"https://api.github.com/repos/owncloud/pyocclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/pyocclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/pyocclient/teams","hooks_url":"https://api.github.com/repos/owncloud/pyocclient/hooks","issue_events_url":"https://api.github.com/repos/owncloud/pyocclient/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/pyocclient/events","assignees_url":"https://api.github.com/repos/owncloud/pyocclient/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/pyocclient/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/pyocclient/tags","blobs_url":"https://api.github.com/repos/owncloud/pyocclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/pyocclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/pyocclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/pyocclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/pyocclient/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/pyocclient/languages","stargazers_url":"https://api.github.com/repos/owncloud/pyocclient/stargazers","contributors_url":"https://api.github.com/repos/owncloud/pyocclient/contributors","subscribers_url":"https://api.github.com/repos/owncloud/pyocclient/subscribers","subscription_url":"https://api.github.com/repos/owncloud/pyocclient/subscription","commits_url":"https://api.github.com/repos/owncloud/pyocclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/pyocclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/pyocclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/pyocclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/pyocclient/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/pyocclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/pyocclient/merges","archive_url":"https://api.github.com/repos/owncloud/pyocclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/pyocclient/downloads","issues_url":"https://api.github.com/repos/owncloud/pyocclient/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/pyocclient/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/pyocclient/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/pyocclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/pyocclient/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/pyocclient/releases{/id}","created_at":"2014-04-16T22:29:42Z","updated_at":"2016-01-04T22:44:48Z","pushed_at":"2016-01-07T10:24:13Z","git_url":"git://github.com/owncloud/pyocclient.git","ssh_url":"git@github.com:owncloud/pyocclient.git","clone_url":"https://github.com/owncloud/pyocclient.git","svn_url":"https://github.com/owncloud/pyocclient","homepage":null,"size":372,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":37,"forks":25,"open_issues":37,"watchers":61,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"4bb5b536d6bf95df3ff75b17229f0873d5eefce5","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":18858610,"name":"pyocclient","full_name":"owncloud/pyocclient","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/pyocclient","description":"ownCloud client library for Python","fork":false,"url":"https://api.github.com/repos/owncloud/pyocclient","forks_url":"https://api.github.com/repos/owncloud/pyocclient/forks","keys_url":"https://api.github.com/repos/owncloud/pyocclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/pyocclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/pyocclient/teams","hooks_url":"https://api.github.com/repos/owncloud/pyocclient/hooks","issue_events_url":"https://api.github.com/repos/owncloud/pyocclient/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/pyocclient/events","assignees_url":"https://api.github.com/repos/owncloud/pyocclient/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/pyocclient/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/pyocclient/tags","blobs_url":"https://api.github.com/repos/owncloud/pyocclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/pyocclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/pyocclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/pyocclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/pyocclient/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/pyocclient/languages","stargazers_url":"https://api.github.com/repos/owncloud/pyocclient/stargazers","contributors_url":"https://api.github.com/repos/owncloud/pyocclient/contributors","subscribers_url":"https://api.github.com/repos/owncloud/pyocclient/subscribers","subscription_url":"https://api.github.com/repos/owncloud/pyocclient/subscription","commits_url":"https://api.github.com/repos/owncloud/pyocclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/pyocclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/pyocclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/pyocclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/pyocclient/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/pyocclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/pyocclient/merges","archive_url":"https://api.github.com/repos/owncloud/pyocclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/pyocclient/downloads","issues_url":"https://api.github.com/repos/owncloud/pyocclient/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/pyocclient/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/pyocclient/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/pyocclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/pyocclient/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/pyocclient/releases{/id}","created_at":"2014-04-16T22:29:42Z","updated_at":"2016-01-04T22:44:48Z","pushed_at":"2016-01-07T10:24:13Z","git_url":"git://github.com/owncloud/pyocclient.git","ssh_url":"git@github.com:owncloud/pyocclient.git","clone_url":"https://github.com/owncloud/pyocclient.git","svn_url":"https://github.com/owncloud/pyocclient","homepage":null,"size":372,"stargazers_count":61,"watchers_count":61,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":37,"forks":25,"open_issues":37,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/pyocclient/pulls/143"},"html":{"href":"https://github.com/owncloud/pyocclient/pull/143"},"issue":{"href":"https://api.github.com/repos/owncloud/pyocclient/issues/143"},"comments":{"href":"https://api.github.com/repos/owncloud/pyocclient/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/pyocclient/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/pyocclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/pyocclient/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/pyocclient/statuses/593b160378ae7e4685eac3cd15146c0940acc25c"}}}}