{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/OCA/pylint-odoo/pulls/26","id":68110737,"html_url":"https://github.com/OCA/pylint-odoo/pull/26","diff_url":"https://github.com/OCA/pylint-odoo/pull/26.diff","patch_url":"https://github.com/OCA/pylint-odoo/pull/26.patch","issue_url":"https://api.github.com/repos/OCA/pylint-odoo/issues/26","number":26,"state":"closed","locked":false,"title":"[REF] test: better way to identify check error expected","user":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"body":"Change the test fail summary of\r\n```\r\n======================================================================\r\nFAIL: test_30_disabling_errors (main.MainTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/moylop260/odoo/pylint-odoo/pylint_odoo/test/main.py\", line 102, in test_30_disabling_errors\r\n    self.assertEqual(sorted(real_errors.items()), sorted(EXPECTED_ERRORS.items()))\r\nAssertionError: Errors found 23 different to expected 22\r\n----------------------------------------------------------------------\r\nRan 3 tests in 0.699s\r\n```\r\n\r\nto\r\n```bash\r\n======================================================================\r\nFAIL: test_30_disabling_errors (main.MainTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/moylop260/odoo/pylint-odoo/pylint_odoo/test/main.py\", line 102, in test_30_disabling_errors\r\n    self.assertEqual(sorted(real_errors.items()), sorted(EXPECTED_ERRORS.items()))\r\nAssertionError: Lists differ: [('api-one-deprecated', 4), ('... != [('api-one-deprecated', 4), ('...\r\n\r\nFirst differing element 6:\r\n('javascript-lint', 3)\r\n('javascript-lint', 2)\r\n\r\nSecond list contains 1 additional elements.\r\nFirst extra element 32:\r\n('xml-syntax-error', 2)\r\n\r\nDiff is 1150 characters long. Set self.maxDiff to None to see it.\r\n\r\n----------------------------------------------------------------------\r\nRan 3 tests in 0.699s\r\n```","created_at":"2016-04-27T19:29:52Z","updated_at":"2016-05-08T08:50:38Z","closed_at":"2016-05-08T08:50:38Z","merged_at":"2016-05-08T08:50:38Z","merge_commit_sha":"b1c58957544d8471578a61c46905317f58f1e9e2","assignee":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/OCA/pylint-odoo/pulls/26/commits","review_comments_url":"https://api.github.com/repos/OCA/pylint-odoo/pulls/26/comments","review_comment_url":"https://api.github.com/repos/OCA/pylint-odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/pylint-odoo/issues/26/comments","statuses_url":"https://api.github.com/repos/OCA/pylint-odoo/statuses/b6452c4b3a7c34f523f232dd4c6ce594a08e08aa","head":{"label":"vauxoo-dev:master-oca-ref-test-moy","ref":"master-oca-ref-test-moy","sha":"b6452c4b3a7c34f523f232dd4c6ce594a08e08aa","user":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars.githubusercontent.com/u/7662790?v=3","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":44041810,"name":"pylint-odoo","full_name":"vauxoo-dev/pylint-odoo","owner":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars.githubusercontent.com/u/7662790?v=3","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vauxoo-dev/pylint-odoo","description":"","fork":true,"url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo","forks_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/forks","keys_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/teams","hooks_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/hooks","issue_events_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/issues/events{/number}","events_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/events","assignees_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/assignees{/user}","branches_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/branches{/branch}","tags_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/tags","blobs_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/languages","stargazers_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/stargazers","contributors_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/contributors","subscribers_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/subscribers","subscription_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/subscription","commits_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/contents/{+path}","compare_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/merges","archive_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/downloads","issues_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/issues{/number}","pulls_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/labels{/name}","releases_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/releases{/id}","deployments_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/deployments","created_at":"2015-10-11T06:30:59Z","updated_at":"2015-10-06T06:29:50Z","pushed_at":"2016-05-08T03:30:19Z","git_url":"git://github.com/vauxoo-dev/pylint-odoo.git","ssh_url":"git@github.com:vauxoo-dev/pylint-odoo.git","clone_url":"https://github.com/vauxoo-dev/pylint-odoo.git","svn_url":"https://github.com/vauxoo-dev/pylint-odoo","homepage":null,"size":97,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"OCA:master","ref":"master","sha":"7a10bf4f495adf0a5477d0729012542c16a20a62","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":43686408,"name":"pylint-odoo","full_name":"OCA/pylint-odoo","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/pylint-odoo","description":"Odoo plugin for Pylint","fork":false,"url":"https://api.github.com/repos/OCA/pylint-odoo","forks_url":"https://api.github.com/repos/OCA/pylint-odoo/forks","keys_url":"https://api.github.com/repos/OCA/pylint-odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/pylint-odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/pylint-odoo/teams","hooks_url":"https://api.github.com/repos/OCA/pylint-odoo/hooks","issue_events_url":"https://api.github.com/repos/OCA/pylint-odoo/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/pylint-odoo/events","assignees_url":"https://api.github.com/repos/OCA/pylint-odoo/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/pylint-odoo/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/pylint-odoo/tags","blobs_url":"https://api.github.com/repos/OCA/pylint-odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/pylint-odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/pylint-odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/pylint-odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/pylint-odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/pylint-odoo/languages","stargazers_url":"https://api.github.com/repos/OCA/pylint-odoo/stargazers","contributors_url":"https://api.github.com/repos/OCA/pylint-odoo/contributors","subscribers_url":"https://api.github.com/repos/OCA/pylint-odoo/subscribers","subscription_url":"https://api.github.com/repos/OCA/pylint-odoo/subscription","commits_url":"https://api.github.com/repos/OCA/pylint-odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/pylint-odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/pylint-odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/pylint-odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/pylint-odoo/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/pylint-odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/pylint-odoo/merges","archive_url":"https://api.github.com/repos/OCA/pylint-odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/pylint-odoo/downloads","issues_url":"https://api.github.com/repos/OCA/pylint-odoo/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/pylint-odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/pylint-odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/pylint-odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/pylint-odoo/labels{/name}","releases_url":"https://api.github.com/repos/OCA/pylint-odoo/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/pylint-odoo/deployments","created_at":"2015-10-05T13:38:58Z","updated_at":"2016-04-21T05:42:57Z","pushed_at":"2016-05-08T08:50:38Z","git_url":"git://github.com/OCA/pylint-odoo.git","ssh_url":"git@github.com:OCA/pylint-odoo.git","clone_url":"https://github.com/OCA/pylint-odoo.git","svn_url":"https://github.com/OCA/pylint-odoo","homepage":"http://www.pylint.org","size":56,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/pylint-odoo/pulls/26"},"html":{"href":"https://github.com/OCA/pylint-odoo/pull/26"},"issue":{"href":"https://api.github.com/repos/OCA/pylint-odoo/issues/26"},"comments":{"href":"https://api.github.com/repos/OCA/pylint-odoo/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/pylint-odoo/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/pylint-odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/pylint-odoo/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/pylint-odoo/statuses/b6452c4b3a7c34f523f232dd4c6ce594a08e08aa"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dreispt","id":1246629,"avatar_url":"https://avatars.githubusercontent.com/u/1246629?v=3","gravatar_id":"","url":"https://api.github.com/users/dreispt","html_url":"https://github.com/dreispt","followers_url":"https://api.github.com/users/dreispt/followers","following_url":"https://api.github.com/users/dreispt/following{/other_user}","gists_url":"https://api.github.com/users/dreispt/gists{/gist_id}","starred_url":"https://api.github.com/users/dreispt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreispt/subscriptions","organizations_url":"https://api.github.com/users/dreispt/orgs","repos_url":"https://api.github.com/users/dreispt/repos","events_url":"https://api.github.com/users/dreispt/events{/privacy}","received_events_url":"https://api.github.com/users/dreispt/received_events","type":"User","site_admin":false},"comments":10,"review_comments":0,"commits":1,"additions":42,"deletions":13,"changed_files":1}}