{"action":"opened","number":136,"pull_request":{"url":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/136","id":52137471,"html_url":"https://github.com/CompassionCH/compassion-modules/pull/136","diff_url":"https://github.com/CompassionCH/compassion-modules/pull/136.diff","patch_url":"https://github.com/CompassionCH/compassion-modules/pull/136.patch","issue_url":"https://api.github.com/repos/CompassionCH/compassion-modules/issues/136","number":136,"state":"open","locked":false,"title":"refactor, add more tests","user":{"login":"rz-comp","id":15614649,"avatar_url":"https://avatars.githubusercontent.com/u/15614649?v=3","gravatar_id":"","url":"https://api.github.com/users/rz-comp","html_url":"https://github.com/rz-comp","followers_url":"https://api.github.com/users/rz-comp/followers","following_url":"https://api.github.com/users/rz-comp/following{/other_user}","gists_url":"https://api.github.com/users/rz-comp/gists{/gist_id}","starred_url":"https://api.github.com/users/rz-comp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rz-comp/subscriptions","organizations_url":"https://api.github.com/users/rz-comp/orgs","repos_url":"https://api.github.com/users/rz-comp/repos","events_url":"https://api.github.com/users/rz-comp/events{/privacy}","received_events_url":"https://api.github.com/users/rz-comp/received_events","type":"User","site_admin":false},"body":"- adapt structure of pattern recognition code to make it testable\r\n- add more tests, what's missing now is mostly to have more test documents\r\n- fix/improve some doc strings","created_at":"2015-11-30T15:26:33Z","updated_at":"2015-11-30T15:26:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/136/commits","review_comments_url":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/136/comments","review_comment_url":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-modules/issues/136/comments","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-modules/statuses/a6abea7f84367f6c037db753eb0291a7cad583f0","head":{"label":"rz-comp:sbc-devel","ref":"sbc-devel","sha":"a6abea7f84367f6c037db753eb0291a7cad583f0","user":{"login":"rz-comp","id":15614649,"avatar_url":"https://avatars.githubusercontent.com/u/15614649?v=3","gravatar_id":"","url":"https://api.github.com/users/rz-comp","html_url":"https://github.com/rz-comp","followers_url":"https://api.github.com/users/rz-comp/followers","following_url":"https://api.github.com/users/rz-comp/following{/other_user}","gists_url":"https://api.github.com/users/rz-comp/gists{/gist_id}","starred_url":"https://api.github.com/users/rz-comp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rz-comp/subscriptions","organizations_url":"https://api.github.com/users/rz-comp/orgs","repos_url":"https://api.github.com/users/rz-comp/repos","events_url":"https://api.github.com/users/rz-comp/events{/privacy}","received_events_url":"https://api.github.com/users/rz-comp/received_events","type":"User","site_admin":false},"repo":{"id":45450368,"name":"compassion-modules","full_name":"rz-comp/compassion-modules","owner":{"login":"rz-comp","id":15614649,"avatar_url":"https://avatars.githubusercontent.com/u/15614649?v=3","gravatar_id":"","url":"https://api.github.com/users/rz-comp","html_url":"https://github.com/rz-comp","followers_url":"https://api.github.com/users/rz-comp/followers","following_url":"https://api.github.com/users/rz-comp/following{/other_user}","gists_url":"https://api.github.com/users/rz-comp/gists{/gist_id}","starred_url":"https://api.github.com/users/rz-comp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rz-comp/subscriptions","organizations_url":"https://api.github.com/users/rz-comp/orgs","repos_url":"https://api.github.com/users/rz-comp/repos","events_url":"https://api.github.com/users/rz-comp/events{/privacy}","received_events_url":"https://api.github.com/users/rz-comp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rz-comp/compassion-modules","description":"Odoo modules for Compassion","fork":true,"url":"https://api.github.com/repos/rz-comp/compassion-modules","forks_url":"https://api.github.com/repos/rz-comp/compassion-modules/forks","keys_url":"https://api.github.com/repos/rz-comp/compassion-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rz-comp/compassion-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rz-comp/compassion-modules/teams","hooks_url":"https://api.github.com/repos/rz-comp/compassion-modules/hooks","issue_events_url":"https://api.github.com/repos/rz-comp/compassion-modules/issues/events{/number}","events_url":"https://api.github.com/repos/rz-comp/compassion-modules/events","assignees_url":"https://api.github.com/repos/rz-comp/compassion-modules/assignees{/user}","branches_url":"https://api.github.com/repos/rz-comp/compassion-modules/branches{/branch}","tags_url":"https://api.github.com/repos/rz-comp/compassion-modules/tags","blobs_url":"https://api.github.com/repos/rz-comp/compassion-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rz-comp/compassion-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rz-comp/compassion-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/rz-comp/compassion-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rz-comp/compassion-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/rz-comp/compassion-modules/languages","stargazers_url":"https://api.github.com/repos/rz-comp/compassion-modules/stargazers","contributors_url":"https://api.github.com/repos/rz-comp/compassion-modules/contributors","subscribers_url":"https://api.github.com/repos/rz-comp/compassion-modules/subscribers","subscription_url":"https://api.github.com/repos/rz-comp/compassion-modules/subscription","commits_url":"https://api.github.com/repos/rz-comp/compassion-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/rz-comp/compassion-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/rz-comp/compassion-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/rz-comp/compassion-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/rz-comp/compassion-modules/contents/{+path}","compare_url":"https://api.github.com/repos/rz-comp/compassion-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rz-comp/compassion-modules/merges","archive_url":"https://api.github.com/repos/rz-comp/compassion-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rz-comp/compassion-modules/downloads","issues_url":"https://api.github.com/repos/rz-comp/compassion-modules/issues{/number}","pulls_url":"https://api.github.com/repos/rz-comp/compassion-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/rz-comp/compassion-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/rz-comp/compassion-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rz-comp/compassion-modules/labels{/name}","releases_url":"https://api.github.com/repos/rz-comp/compassion-modules/releases{/id}","created_at":"2015-11-03T07:51:28Z","updated_at":"2015-11-03T07:51:29Z","pushed_at":"2015-11-30T14:36:05Z","git_url":"git://github.com/rz-comp/compassion-modules.git","ssh_url":"git@github.com:rz-comp/compassion-modules.git","clone_url":"https://github.com/rz-comp/compassion-modules.git","svn_url":"https://github.com/rz-comp/compassion-modules","homepage":"","size":3481,"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":"CompassionCH:sbc-devel","ref":"sbc-devel","sha":"f7615064622d6e2bcc059663d5f4f1b28684b944","user":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"repo":{"id":23073482,"name":"compassion-modules","full_name":"CompassionCH/compassion-modules","owner":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CompassionCH/compassion-modules","description":"Odoo modules for Compassion","fork":false,"url":"https://api.github.com/repos/CompassionCH/compassion-modules","forks_url":"https://api.github.com/repos/CompassionCH/compassion-modules/forks","keys_url":"https://api.github.com/repos/CompassionCH/compassion-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CompassionCH/compassion-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CompassionCH/compassion-modules/teams","hooks_url":"https://api.github.com/repos/CompassionCH/compassion-modules/hooks","issue_events_url":"https://api.github.com/repos/CompassionCH/compassion-modules/issues/events{/number}","events_url":"https://api.github.com/repos/CompassionCH/compassion-modules/events","assignees_url":"https://api.github.com/repos/CompassionCH/compassion-modules/assignees{/user}","branches_url":"https://api.github.com/repos/CompassionCH/compassion-modules/branches{/branch}","tags_url":"https://api.github.com/repos/CompassionCH/compassion-modules/tags","blobs_url":"https://api.github.com/repos/CompassionCH/compassion-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CompassionCH/compassion-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CompassionCH/compassion-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/CompassionCH/compassion-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/CompassionCH/compassion-modules/languages","stargazers_url":"https://api.github.com/repos/CompassionCH/compassion-modules/stargazers","contributors_url":"https://api.github.com/repos/CompassionCH/compassion-modules/contributors","subscribers_url":"https://api.github.com/repos/CompassionCH/compassion-modules/subscribers","subscription_url":"https://api.github.com/repos/CompassionCH/compassion-modules/subscription","commits_url":"https://api.github.com/repos/CompassionCH/compassion-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/CompassionCH/compassion-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/CompassionCH/compassion-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/CompassionCH/compassion-modules/contents/{+path}","compare_url":"https://api.github.com/repos/CompassionCH/compassion-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CompassionCH/compassion-modules/merges","archive_url":"https://api.github.com/repos/CompassionCH/compassion-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CompassionCH/compassion-modules/downloads","issues_url":"https://api.github.com/repos/CompassionCH/compassion-modules/issues{/number}","pulls_url":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/CompassionCH/compassion-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/CompassionCH/compassion-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CompassionCH/compassion-modules/labels{/name}","releases_url":"https://api.github.com/repos/CompassionCH/compassion-modules/releases{/id}","created_at":"2014-08-18T14:08:09Z","updated_at":"2015-05-08T09:31:58Z","pushed_at":"2015-11-25T15:42:43Z","git_url":"git://github.com/CompassionCH/compassion-modules.git","ssh_url":"git@github.com:CompassionCH/compassion-modules.git","clone_url":"https://github.com/CompassionCH/compassion-modules.git","svn_url":"https://github.com/CompassionCH/compassion-modules","homepage":"","size":4044,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/136"},"html":{"href":"https://github.com/CompassionCH/compassion-modules/pull/136"},"issue":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/issues/136"},"comments":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/CompassionCH/compassion-modules/statuses/a6abea7f84367f6c037db753eb0291a7cad583f0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":268,"deletions":243,"changed_files":14}}