{"action":"created","comment":{"url":"https://api.github.com/repos/nitmir/django-cas-server/pulls/comments/68508458","id":68508458,"diff_hunk":"@@ -59,6 +60,60 @@ def get_pgt():\n     return params\n \n \n+class CheckPasswordCase(TestCase):\n+\n+    def setUp(self):\n+        self.password1 = utils.gen_saml_id()\n+        self.password2 = utils.gen_saml_id()\n+        if not isinstance(self.password1, bytes):\n+            self.password1 = self.password1.encode(\"utf8\")\n+            self.password2 = self.password2.encode(\"utf8\")\n+\n+    def test_setup(self):","path":"cas_server/tests.py","position":21,"original_position":21,"commit_id":"2fac47f0b178a7faf2eb039c9c5aecb45eaafb2f","original_commit_id":"2fac47f0b178a7faf2eb039c9c5aecb45eaafb2f","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Missing method docstring](https://www.codacy.com/app/valentin-samir/django-cas-server/file/2843158149/issues/source?bid=3379014&fileBranchId=3386616#l72)","created_at":"2016-06-26T19:50:20Z","updated_at":"2016-06-26T19:50:20Z","html_url":"https://github.com/nitmir/django-cas-server/pull/4#discussion_r68508458","pull_request_url":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/nitmir/django-cas-server/pulls/comments/68508458"},"html":{"href":"https://github.com/nitmir/django-cas-server/pull/4#discussion_r68508458"},"pull_request":{"href":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4","id":75238714,"html_url":"https://github.com/nitmir/django-cas-server/pull/4","diff_url":"https://github.com/nitmir/django-cas-server/pull/4.diff","patch_url":"https://github.com/nitmir/django-cas-server/pull/4.patch","issue_url":"https://api.github.com/repos/nitmir/django-cas-server/issues/4","number":4,"state":"open","locked":false,"title":"Add more optional password check to the mysql auth backend","user":{"login":"nitmir","id":5030463,"avatar_url":"https://avatars.githubusercontent.com/u/5030463?v=3","gravatar_id":"","url":"https://api.github.com/users/nitmir","html_url":"https://github.com/nitmir","followers_url":"https://api.github.com/users/nitmir/followers","following_url":"https://api.github.com/users/nitmir/following{/other_user}","gists_url":"https://api.github.com/users/nitmir/gists{/gist_id}","starred_url":"https://api.github.com/users/nitmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitmir/subscriptions","organizations_url":"https://api.github.com/users/nitmir/orgs","repos_url":"https://api.github.com/users/nitmir/repos","events_url":"https://api.github.com/users/nitmir/events{/privacy}","received_events_url":"https://api.github.com/users/nitmir/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-26T19:47:45Z","updated_at":"2016-06-26T19:50:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1c04ab16bb715bb2c1f06acceba8f73677f1b79","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4/commits","review_comments_url":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4/comments","review_comment_url":"https://api.github.com/repos/nitmir/django-cas-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nitmir/django-cas-server/issues/4/comments","statuses_url":"https://api.github.com/repos/nitmir/django-cas-server/statuses/2fac47f0b178a7faf2eb039c9c5aecb45eaafb2f","head":{"label":"nitmir:dev","ref":"dev","sha":"2fac47f0b178a7faf2eb039c9c5aecb45eaafb2f","user":{"login":"nitmir","id":5030463,"avatar_url":"https://avatars.githubusercontent.com/u/5030463?v=3","gravatar_id":"","url":"https://api.github.com/users/nitmir","html_url":"https://github.com/nitmir","followers_url":"https://api.github.com/users/nitmir/followers","following_url":"https://api.github.com/users/nitmir/following{/other_user}","gists_url":"https://api.github.com/users/nitmir/gists{/gist_id}","starred_url":"https://api.github.com/users/nitmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitmir/subscriptions","organizations_url":"https://api.github.com/users/nitmir/orgs","repos_url":"https://api.github.com/users/nitmir/repos","events_url":"https://api.github.com/users/nitmir/events{/privacy}","received_events_url":"https://api.github.com/users/nitmir/received_events","type":"User","site_admin":false},"repo":{"id":36460783,"name":"django-cas-server","full_name":"nitmir/django-cas-server","owner":{"login":"nitmir","id":5030463,"avatar_url":"https://avatars.githubusercontent.com/u/5030463?v=3","gravatar_id":"","url":"https://api.github.com/users/nitmir","html_url":"https://github.com/nitmir","followers_url":"https://api.github.com/users/nitmir/followers","following_url":"https://api.github.com/users/nitmir/following{/other_user}","gists_url":"https://api.github.com/users/nitmir/gists{/gist_id}","starred_url":"https://api.github.com/users/nitmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitmir/subscriptions","organizations_url":"https://api.github.com/users/nitmir/orgs","repos_url":"https://api.github.com/users/nitmir/repos","events_url":"https://api.github.com/users/nitmir/events{/privacy}","received_events_url":"https://api.github.com/users/nitmir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nitmir/django-cas-server","description":"A Django Central Authentication Service server implementing the CAS Protocol 3.0 Specification","fork":false,"url":"https://api.github.com/repos/nitmir/django-cas-server","forks_url":"https://api.github.com/repos/nitmir/django-cas-server/forks","keys_url":"https://api.github.com/repos/nitmir/django-cas-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitmir/django-cas-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitmir/django-cas-server/teams","hooks_url":"https://api.github.com/repos/nitmir/django-cas-server/hooks","issue_events_url":"https://api.github.com/repos/nitmir/django-cas-server/issues/events{/number}","events_url":"https://api.github.com/repos/nitmir/django-cas-server/events","assignees_url":"https://api.github.com/repos/nitmir/django-cas-server/assignees{/user}","branches_url":"https://api.github.com/repos/nitmir/django-cas-server/branches{/branch}","tags_url":"https://api.github.com/repos/nitmir/django-cas-server/tags","blobs_url":"https://api.github.com/repos/nitmir/django-cas-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitmir/django-cas-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitmir/django-cas-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitmir/django-cas-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitmir/django-cas-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nitmir/django-cas-server/languages","stargazers_url":"https://api.github.com/repos/nitmir/django-cas-server/stargazers","contributors_url":"https://api.github.com/repos/nitmir/django-cas-server/contributors","subscribers_url":"https://api.github.com/repos/nitmir/django-cas-server/subscribers","subscription_url":"https://api.github.com/repos/nitmir/django-cas-server/subscription","commits_url":"https://api.github.com/repos/nitmir/django-cas-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitmir/django-cas-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitmir/django-cas-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitmir/django-cas-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitmir/django-cas-server/contents/{+path}","compare_url":"https://api.github.com/repos/nitmir/django-cas-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitmir/django-cas-server/merges","archive_url":"https://api.github.com/repos/nitmir/django-cas-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitmir/django-cas-server/downloads","issues_url":"https://api.github.com/repos/nitmir/django-cas-server/issues{/number}","pulls_url":"https://api.github.com/repos/nitmir/django-cas-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nitmir/django-cas-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nitmir/django-cas-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitmir/django-cas-server/labels{/name}","releases_url":"https://api.github.com/repos/nitmir/django-cas-server/releases{/id}","deployments_url":"https://api.github.com/repos/nitmir/django-cas-server/deployments","created_at":"2015-05-28T19:21:18Z","updated_at":"2016-02-16T00:44:13Z","pushed_at":"2016-06-26T19:47:46Z","git_url":"git://github.com/nitmir/django-cas-server.git","ssh_url":"git@github.com:nitmir/django-cas-server.git","clone_url":"https://github.com/nitmir/django-cas-server.git","svn_url":"https://github.com/nitmir/django-cas-server","homepage":"","size":364,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"nitmir:master","ref":"master","sha":"b36a9a15235a3f4ce9087d447822b1d9697a1dbc","user":{"login":"nitmir","id":5030463,"avatar_url":"https://avatars.githubusercontent.com/u/5030463?v=3","gravatar_id":"","url":"https://api.github.com/users/nitmir","html_url":"https://github.com/nitmir","followers_url":"https://api.github.com/users/nitmir/followers","following_url":"https://api.github.com/users/nitmir/following{/other_user}","gists_url":"https://api.github.com/users/nitmir/gists{/gist_id}","starred_url":"https://api.github.com/users/nitmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitmir/subscriptions","organizations_url":"https://api.github.com/users/nitmir/orgs","repos_url":"https://api.github.com/users/nitmir/repos","events_url":"https://api.github.com/users/nitmir/events{/privacy}","received_events_url":"https://api.github.com/users/nitmir/received_events","type":"User","site_admin":false},"repo":{"id":36460783,"name":"django-cas-server","full_name":"nitmir/django-cas-server","owner":{"login":"nitmir","id":5030463,"avatar_url":"https://avatars.githubusercontent.com/u/5030463?v=3","gravatar_id":"","url":"https://api.github.com/users/nitmir","html_url":"https://github.com/nitmir","followers_url":"https://api.github.com/users/nitmir/followers","following_url":"https://api.github.com/users/nitmir/following{/other_user}","gists_url":"https://api.github.com/users/nitmir/gists{/gist_id}","starred_url":"https://api.github.com/users/nitmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitmir/subscriptions","organizations_url":"https://api.github.com/users/nitmir/orgs","repos_url":"https://api.github.com/users/nitmir/repos","events_url":"https://api.github.com/users/nitmir/events{/privacy}","received_events_url":"https://api.github.com/users/nitmir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nitmir/django-cas-server","description":"A Django Central Authentication Service server implementing the CAS Protocol 3.0 Specification","fork":false,"url":"https://api.github.com/repos/nitmir/django-cas-server","forks_url":"https://api.github.com/repos/nitmir/django-cas-server/forks","keys_url":"https://api.github.com/repos/nitmir/django-cas-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitmir/django-cas-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitmir/django-cas-server/teams","hooks_url":"https://api.github.com/repos/nitmir/django-cas-server/hooks","issue_events_url":"https://api.github.com/repos/nitmir/django-cas-server/issues/events{/number}","events_url":"https://api.github.com/repos/nitmir/django-cas-server/events","assignees_url":"https://api.github.com/repos/nitmir/django-cas-server/assignees{/user}","branches_url":"https://api.github.com/repos/nitmir/django-cas-server/branches{/branch}","tags_url":"https://api.github.com/repos/nitmir/django-cas-server/tags","blobs_url":"https://api.github.com/repos/nitmir/django-cas-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitmir/django-cas-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitmir/django-cas-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitmir/django-cas-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitmir/django-cas-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nitmir/django-cas-server/languages","stargazers_url":"https://api.github.com/repos/nitmir/django-cas-server/stargazers","contributors_url":"https://api.github.com/repos/nitmir/django-cas-server/contributors","subscribers_url":"https://api.github.com/repos/nitmir/django-cas-server/subscribers","subscription_url":"https://api.github.com/repos/nitmir/django-cas-server/subscription","commits_url":"https://api.github.com/repos/nitmir/django-cas-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitmir/django-cas-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitmir/django-cas-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitmir/django-cas-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitmir/django-cas-server/contents/{+path}","compare_url":"https://api.github.com/repos/nitmir/django-cas-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitmir/django-cas-server/merges","archive_url":"https://api.github.com/repos/nitmir/django-cas-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitmir/django-cas-server/downloads","issues_url":"https://api.github.com/repos/nitmir/django-cas-server/issues{/number}","pulls_url":"https://api.github.com/repos/nitmir/django-cas-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nitmir/django-cas-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nitmir/django-cas-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitmir/django-cas-server/labels{/name}","releases_url":"https://api.github.com/repos/nitmir/django-cas-server/releases{/id}","deployments_url":"https://api.github.com/repos/nitmir/django-cas-server/deployments","created_at":"2015-05-28T19:21:18Z","updated_at":"2016-02-16T00:44:13Z","pushed_at":"2016-06-26T19:47:46Z","git_url":"git://github.com/nitmir/django-cas-server.git","ssh_url":"git@github.com:nitmir/django-cas-server.git","clone_url":"https://github.com/nitmir/django-cas-server.git","svn_url":"https://github.com/nitmir/django-cas-server","homepage":"","size":364,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4"},"html":{"href":"https://github.com/nitmir/django-cas-server/pull/4"},"issue":{"href":"https://api.github.com/repos/nitmir/django-cas-server/issues/4"},"comments":{"href":"https://api.github.com/repos/nitmir/django-cas-server/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/nitmir/django-cas-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nitmir/django-cas-server/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/nitmir/django-cas-server/statuses/2fac47f0b178a7faf2eb039c9c5aecb45eaafb2f"}}}}
{"actor":{"display_login":"codacy-bot"}}