{"action":"created","comment":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments/63009766","id":63009766,"diff_hunk":"@@ -41,6 +41,8 @@ def test_bad_password():\n     creds = Credential(principal=conf.credentials['default']['username'], secret=\"badpassword@#$\")\n     user = User(credential=creds)\n \n-    with error.expected('Sorry, the username or password you entered is incorrect.'):\n+    with error.expected(version.pick({version.LOWEST:","path":"cfme/tests/test_login.py","position":14,"original_position":14,"commit_id":"124703b7a1d611ddffa259d33362eb6d05385e54","original_commit_id":"124703b7a1d611ddffa259d33362eb6d05385e54","user":{"login":"psav","id":5639745,"avatar_url":"https://avatars.githubusercontent.com/u/5639745?v=3","gravatar_id":"","url":"https://api.github.com/users/psav","html_url":"https://github.com/psav","followers_url":"https://api.github.com/users/psav/followers","following_url":"https://api.github.com/users/psav/following{/other_user}","gists_url":"https://api.github.com/users/psav/gists{/gist_id}","starred_url":"https://api.github.com/users/psav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psav/subscriptions","organizations_url":"https://api.github.com/users/psav/orgs","repos_url":"https://api.github.com/users/psav/repos","events_url":"https://api.github.com/users/psav/events{/privacy}","received_events_url":"https://api.github.com/users/psav/received_events","type":"User","site_admin":false},"body":"Stylistically we'd probably prefer this\r\n```python\r\n    with error.expected(version.pick({\r\n        version.LOWEST: \"Sorry, the username or password you entered is incorrect.\",\r\n        \"5.6\": \"Incorrect username or password\"})):","created_at":"2016-05-12T12:18:15Z","updated_at":"2016-05-12T12:18:15Z","html_url":"https://github.com/RedHatQE/cfme_tests/pull/2960#discussion_r63009766","pull_request_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960","_links":{"self":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments/63009766"},"html":{"href":"https://github.com/RedHatQE/cfme_tests/pull/2960#discussion_r63009766"},"pull_request":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960"}}},"pull_request":{"url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960","id":69674754,"html_url":"https://github.com/RedHatQE/cfme_tests/pull/2960","diff_url":"https://github.com/RedHatQE/cfme_tests/pull/2960.diff","patch_url":"https://github.com/RedHatQE/cfme_tests/pull/2960.patch","issue_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2960","number":2960,"state":"open","locked":false,"title":"Fix flash message for incorrect login","user":{"login":"mkoura","id":2352619,"avatar_url":"https://avatars.githubusercontent.com/u/2352619?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoura","html_url":"https://github.com/mkoura","followers_url":"https://api.github.com/users/mkoura/followers","following_url":"https://api.github.com/users/mkoura/following{/other_user}","gists_url":"https://api.github.com/users/mkoura/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoura/subscriptions","organizations_url":"https://api.github.com/users/mkoura/orgs","repos_url":"https://api.github.com/users/mkoura/repos","events_url":"https://api.github.com/users/mkoura/events{/privacy}","received_events_url":"https://api.github.com/users/mkoura/received_events","type":"User","site_admin":false},"body":"In 5.6 the new message is \"Incorrect username or password\".","created_at":"2016-05-11T13:47:12Z","updated_at":"2016-05-12T12:18:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fda31c7d8526e5606561f685ad26b62ec561702","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960/commits","review_comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960/comments","review_comment_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2960/comments","statuses_url":"https://api.github.com/repos/RedHatQE/cfme_tests/statuses/124703b7a1d611ddffa259d33362eb6d05385e54","head":{"label":"mkoura:test_login","ref":"test_login","sha":"124703b7a1d611ddffa259d33362eb6d05385e54","user":{"login":"mkoura","id":2352619,"avatar_url":"https://avatars.githubusercontent.com/u/2352619?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoura","html_url":"https://github.com/mkoura","followers_url":"https://api.github.com/users/mkoura/followers","following_url":"https://api.github.com/users/mkoura/following{/other_user}","gists_url":"https://api.github.com/users/mkoura/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoura/subscriptions","organizations_url":"https://api.github.com/users/mkoura/orgs","repos_url":"https://api.github.com/users/mkoura/repos","events_url":"https://api.github.com/users/mkoura/events{/privacy}","received_events_url":"https://api.github.com/users/mkoura/received_events","type":"User","site_admin":false},"repo":{"id":58528439,"name":"cfme_tests","full_name":"mkoura/cfme_tests","owner":{"login":"mkoura","id":2352619,"avatar_url":"https://avatars.githubusercontent.com/u/2352619?v=3","gravatar_id":"","url":"https://api.github.com/users/mkoura","html_url":"https://github.com/mkoura","followers_url":"https://api.github.com/users/mkoura/followers","following_url":"https://api.github.com/users/mkoura/following{/other_user}","gists_url":"https://api.github.com/users/mkoura/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoura/subscriptions","organizations_url":"https://api.github.com/users/mkoura/orgs","repos_url":"https://api.github.com/users/mkoura/repos","events_url":"https://api.github.com/users/mkoura/events{/privacy}","received_events_url":"https://api.github.com/users/mkoura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkoura/cfme_tests","description":"CloudForms Management Engine - Functional tests","fork":true,"url":"https://api.github.com/repos/mkoura/cfme_tests","forks_url":"https://api.github.com/repos/mkoura/cfme_tests/forks","keys_url":"https://api.github.com/repos/mkoura/cfme_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkoura/cfme_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkoura/cfme_tests/teams","hooks_url":"https://api.github.com/repos/mkoura/cfme_tests/hooks","issue_events_url":"https://api.github.com/repos/mkoura/cfme_tests/issues/events{/number}","events_url":"https://api.github.com/repos/mkoura/cfme_tests/events","assignees_url":"https://api.github.com/repos/mkoura/cfme_tests/assignees{/user}","branches_url":"https://api.github.com/repos/mkoura/cfme_tests/branches{/branch}","tags_url":"https://api.github.com/repos/mkoura/cfme_tests/tags","blobs_url":"https://api.github.com/repos/mkoura/cfme_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkoura/cfme_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkoura/cfme_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkoura/cfme_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkoura/cfme_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/mkoura/cfme_tests/languages","stargazers_url":"https://api.github.com/repos/mkoura/cfme_tests/stargazers","contributors_url":"https://api.github.com/repos/mkoura/cfme_tests/contributors","subscribers_url":"https://api.github.com/repos/mkoura/cfme_tests/subscribers","subscription_url":"https://api.github.com/repos/mkoura/cfme_tests/subscription","commits_url":"https://api.github.com/repos/mkoura/cfme_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkoura/cfme_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkoura/cfme_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkoura/cfme_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkoura/cfme_tests/contents/{+path}","compare_url":"https://api.github.com/repos/mkoura/cfme_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkoura/cfme_tests/merges","archive_url":"https://api.github.com/repos/mkoura/cfme_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkoura/cfme_tests/downloads","issues_url":"https://api.github.com/repos/mkoura/cfme_tests/issues{/number}","pulls_url":"https://api.github.com/repos/mkoura/cfme_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/mkoura/cfme_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/mkoura/cfme_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkoura/cfme_tests/labels{/name}","releases_url":"https://api.github.com/repos/mkoura/cfme_tests/releases{/id}","deployments_url":"https://api.github.com/repos/mkoura/cfme_tests/deployments","created_at":"2016-05-11T08:44:27Z","updated_at":"2016-05-11T08:44:29Z","pushed_at":"2016-05-11T14:32:48Z","git_url":"git://github.com/mkoura/cfme_tests.git","ssh_url":"git@github.com:mkoura/cfme_tests.git","clone_url":"https://github.com/mkoura/cfme_tests.git","svn_url":"https://github.com/mkoura/cfme_tests","homepage":"","size":9875,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RedHatQE:master","ref":"master","sha":"5b620de64acd39fcdc8300952b46a8ef7c1ceb65","user":{"login":"RedHatQE","id":534870,"avatar_url":"https://avatars.githubusercontent.com/u/534870?v=3","gravatar_id":"","url":"https://api.github.com/users/RedHatQE","html_url":"https://github.com/RedHatQE","followers_url":"https://api.github.com/users/RedHatQE/followers","following_url":"https://api.github.com/users/RedHatQE/following{/other_user}","gists_url":"https://api.github.com/users/RedHatQE/gists{/gist_id}","starred_url":"https://api.github.com/users/RedHatQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedHatQE/subscriptions","organizations_url":"https://api.github.com/users/RedHatQE/orgs","repos_url":"https://api.github.com/users/RedHatQE/repos","events_url":"https://api.github.com/users/RedHatQE/events{/privacy}","received_events_url":"https://api.github.com/users/RedHatQE/received_events","type":"Organization","site_admin":false},"repo":{"id":8061086,"name":"cfme_tests","full_name":"RedHatQE/cfme_tests","owner":{"login":"RedHatQE","id":534870,"avatar_url":"https://avatars.githubusercontent.com/u/534870?v=3","gravatar_id":"","url":"https://api.github.com/users/RedHatQE","html_url":"https://github.com/RedHatQE","followers_url":"https://api.github.com/users/RedHatQE/followers","following_url":"https://api.github.com/users/RedHatQE/following{/other_user}","gists_url":"https://api.github.com/users/RedHatQE/gists{/gist_id}","starred_url":"https://api.github.com/users/RedHatQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedHatQE/subscriptions","organizations_url":"https://api.github.com/users/RedHatQE/orgs","repos_url":"https://api.github.com/users/RedHatQE/repos","events_url":"https://api.github.com/users/RedHatQE/events{/privacy}","received_events_url":"https://api.github.com/users/RedHatQE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RedHatQE/cfme_tests","description":"CloudForms Management Engine - Functional tests","fork":false,"url":"https://api.github.com/repos/RedHatQE/cfme_tests","forks_url":"https://api.github.com/repos/RedHatQE/cfme_tests/forks","keys_url":"https://api.github.com/repos/RedHatQE/cfme_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedHatQE/cfme_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedHatQE/cfme_tests/teams","hooks_url":"https://api.github.com/repos/RedHatQE/cfme_tests/hooks","issue_events_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/events{/number}","events_url":"https://api.github.com/repos/RedHatQE/cfme_tests/events","assignees_url":"https://api.github.com/repos/RedHatQE/cfme_tests/assignees{/user}","branches_url":"https://api.github.com/repos/RedHatQE/cfme_tests/branches{/branch}","tags_url":"https://api.github.com/repos/RedHatQE/cfme_tests/tags","blobs_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedHatQE/cfme_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/RedHatQE/cfme_tests/languages","stargazers_url":"https://api.github.com/repos/RedHatQE/cfme_tests/stargazers","contributors_url":"https://api.github.com/repos/RedHatQE/cfme_tests/contributors","subscribers_url":"https://api.github.com/repos/RedHatQE/cfme_tests/subscribers","subscription_url":"https://api.github.com/repos/RedHatQE/cfme_tests/subscription","commits_url":"https://api.github.com/repos/RedHatQE/cfme_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedHatQE/cfme_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedHatQE/cfme_tests/contents/{+path}","compare_url":"https://api.github.com/repos/RedHatQE/cfme_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedHatQE/cfme_tests/merges","archive_url":"https://api.github.com/repos/RedHatQE/cfme_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedHatQE/cfme_tests/downloads","issues_url":"https://api.github.com/repos/RedHatQE/cfme_tests/issues{/number}","pulls_url":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/RedHatQE/cfme_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/RedHatQE/cfme_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedHatQE/cfme_tests/labels{/name}","releases_url":"https://api.github.com/repos/RedHatQE/cfme_tests/releases{/id}","deployments_url":"https://api.github.com/repos/RedHatQE/cfme_tests/deployments","created_at":"2013-02-06T21:59:17Z","updated_at":"2016-05-11T07:56:15Z","pushed_at":"2016-05-12T12:16:06Z","git_url":"git://github.com/RedHatQE/cfme_tests.git","ssh_url":"git@github.com:RedHatQE/cfme_tests.git","clone_url":"https://github.com/RedHatQE/cfme_tests.git","svn_url":"https://github.com/RedHatQE/cfme_tests","homepage":"","size":14149,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":87,"forks":55,"open_issues":87,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960"},"html":{"href":"https://github.com/RedHatQE/cfme_tests/pull/2960"},"issue":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2960"},"comments":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/issues/2960/comments"},"review_comments":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960/comments"},"review_comment":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/pulls/2960/commits"},"statuses":{"href":"https://api.github.com/repos/RedHatQE/cfme_tests/statuses/124703b7a1d611ddffa259d33362eb6d05385e54"}}}}