{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/i2y/mochi/pulls/21","id":33400734,"html_url":"https://github.com/i2y/mochi/pull/21","diff_url":"https://github.com/i2y/mochi/pull/21.diff","patch_url":"https://github.com/i2y/mochi/pull/21.patch","issue_url":"https://api.github.com/repos/i2y/mochi/issues/21","number":21,"state":"closed","locked":false,"title":"Testing","user":{"login":"pya","id":952554,"avatar_url":"https://avatars.githubusercontent.com/u/952554?v=3","gravatar_id":"","url":"https://api.github.com/users/pya","html_url":"https://github.com/pya","followers_url":"https://api.github.com/users/pya/followers","following_url":"https://api.github.com/users/pya/following{/other_user}","gists_url":"https://api.github.com/users/pya/gists{/gist_id}","starred_url":"https://api.github.com/users/pya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pya/subscriptions","organizations_url":"https://api.github.com/users/pya/orgs","repos_url":"https://api.github.com/users/pya/repos","events_url":"https://api.github.com/users/pya/events{/privacy}","received_events_url":"https://api.github.com/users/pya/received_events","type":"User","site_admin":false},"body":"Tests are based on py.test. Mochi files are automatically compiled to Python bytecode and imported. There is a new auto testing option. This allows to test all functions in a Mochi file while writing only one Python testing function. There needs to be one Mochi function for each test. A second Mochi function with the same name but with prefix `result_` has to return the expected result of this function.","created_at":"2015-04-15T21:57:21Z","updated_at":"2015-04-16T21:34:20Z","closed_at":"2015-04-16T21:34:20Z","merged_at":"2015-04-16T21:34:20Z","merge_commit_sha":"e6693ebfa0a0a0516e8e146c54dca4ff01b3d6e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/i2y/mochi/pulls/21/commits","review_comments_url":"https://api.github.com/repos/i2y/mochi/pulls/21/comments","review_comment_url":"https://api.github.com/repos/i2y/mochi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/i2y/mochi/issues/21/comments","statuses_url":"https://api.github.com/repos/i2y/mochi/statuses/cdd7c8f4f666142bf4399ae9a458d63c7c53ff64","head":{"label":"pya:testing","ref":"testing","sha":"cdd7c8f4f666142bf4399ae9a458d63c7c53ff64","user":{"login":"pya","id":952554,"avatar_url":"https://avatars.githubusercontent.com/u/952554?v=3","gravatar_id":"","url":"https://api.github.com/users/pya","html_url":"https://github.com/pya","followers_url":"https://api.github.com/users/pya/followers","following_url":"https://api.github.com/users/pya/following{/other_user}","gists_url":"https://api.github.com/users/pya/gists{/gist_id}","starred_url":"https://api.github.com/users/pya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pya/subscriptions","organizations_url":"https://api.github.com/users/pya/orgs","repos_url":"https://api.github.com/users/pya/repos","events_url":"https://api.github.com/users/pya/events{/privacy}","received_events_url":"https://api.github.com/users/pya/received_events","type":"User","site_admin":false},"repo":{"id":28876135,"name":"mochi","full_name":"pya/mochi","owner":{"login":"pya","id":952554,"avatar_url":"https://avatars.githubusercontent.com/u/952554?v=3","gravatar_id":"","url":"https://api.github.com/users/pya","html_url":"https://github.com/pya","followers_url":"https://api.github.com/users/pya/followers","following_url":"https://api.github.com/users/pya/following{/other_user}","gists_url":"https://api.github.com/users/pya/gists{/gist_id}","starred_url":"https://api.github.com/users/pya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pya/subscriptions","organizations_url":"https://api.github.com/users/pya/orgs","repos_url":"https://api.github.com/users/pya/repos","events_url":"https://api.github.com/users/pya/events{/privacy}","received_events_url":"https://api.github.com/users/pya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pya/mochi","description":"Dynamically typed functional programming language","fork":true,"url":"https://api.github.com/repos/pya/mochi","forks_url":"https://api.github.com/repos/pya/mochi/forks","keys_url":"https://api.github.com/repos/pya/mochi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pya/mochi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pya/mochi/teams","hooks_url":"https://api.github.com/repos/pya/mochi/hooks","issue_events_url":"https://api.github.com/repos/pya/mochi/issues/events{/number}","events_url":"https://api.github.com/repos/pya/mochi/events","assignees_url":"https://api.github.com/repos/pya/mochi/assignees{/user}","branches_url":"https://api.github.com/repos/pya/mochi/branches{/branch}","tags_url":"https://api.github.com/repos/pya/mochi/tags","blobs_url":"https://api.github.com/repos/pya/mochi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pya/mochi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pya/mochi/git/refs{/sha}","trees_url":"https://api.github.com/repos/pya/mochi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pya/mochi/statuses/{sha}","languages_url":"https://api.github.com/repos/pya/mochi/languages","stargazers_url":"https://api.github.com/repos/pya/mochi/stargazers","contributors_url":"https://api.github.com/repos/pya/mochi/contributors","subscribers_url":"https://api.github.com/repos/pya/mochi/subscribers","subscription_url":"https://api.github.com/repos/pya/mochi/subscription","commits_url":"https://api.github.com/repos/pya/mochi/commits{/sha}","git_commits_url":"https://api.github.com/repos/pya/mochi/git/commits{/sha}","comments_url":"https://api.github.com/repos/pya/mochi/comments{/number}","issue_comment_url":"https://api.github.com/repos/pya/mochi/issues/comments{/number}","contents_url":"https://api.github.com/repos/pya/mochi/contents/{+path}","compare_url":"https://api.github.com/repos/pya/mochi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pya/mochi/merges","archive_url":"https://api.github.com/repos/pya/mochi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pya/mochi/downloads","issues_url":"https://api.github.com/repos/pya/mochi/issues{/number}","pulls_url":"https://api.github.com/repos/pya/mochi/pulls{/number}","milestones_url":"https://api.github.com/repos/pya/mochi/milestones{/number}","notifications_url":"https://api.github.com/repos/pya/mochi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pya/mochi/labels{/name}","releases_url":"https://api.github.com/repos/pya/mochi/releases{/id}","created_at":"2015-01-06T18:08:00Z","updated_at":"2015-04-14T22:13:56Z","pushed_at":"2015-04-16T20:37:17Z","git_url":"git://github.com/pya/mochi.git","ssh_url":"git@github.com:pya/mochi.git","clone_url":"https://github.com/pya/mochi.git","svn_url":"https://github.com/pya/mochi","homepage":"","size":355,"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":"i2y:master","ref":"master","sha":"ab68a9d617c92cb67c3f29dfbbd8cad13b0347f4","user":{"login":"i2y","id":6240399,"avatar_url":"https://avatars.githubusercontent.com/u/6240399?v=3","gravatar_id":"","url":"https://api.github.com/users/i2y","html_url":"https://github.com/i2y","followers_url":"https://api.github.com/users/i2y/followers","following_url":"https://api.github.com/users/i2y/following{/other_user}","gists_url":"https://api.github.com/users/i2y/gists{/gist_id}","starred_url":"https://api.github.com/users/i2y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i2y/subscriptions","organizations_url":"https://api.github.com/users/i2y/orgs","repos_url":"https://api.github.com/users/i2y/repos","events_url":"https://api.github.com/users/i2y/events{/privacy}","received_events_url":"https://api.github.com/users/i2y/received_events","type":"User","site_admin":false},"repo":{"id":26396554,"name":"mochi","full_name":"i2y/mochi","owner":{"login":"i2y","id":6240399,"avatar_url":"https://avatars.githubusercontent.com/u/6240399?v=3","gravatar_id":"","url":"https://api.github.com/users/i2y","html_url":"https://github.com/i2y","followers_url":"https://api.github.com/users/i2y/followers","following_url":"https://api.github.com/users/i2y/following{/other_user}","gists_url":"https://api.github.com/users/i2y/gists{/gist_id}","starred_url":"https://api.github.com/users/i2y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i2y/subscriptions","organizations_url":"https://api.github.com/users/i2y/orgs","repos_url":"https://api.github.com/users/i2y/repos","events_url":"https://api.github.com/users/i2y/events{/privacy}","received_events_url":"https://api.github.com/users/i2y/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/i2y/mochi","description":"Dynamically typed functional programming language","fork":false,"url":"https://api.github.com/repos/i2y/mochi","forks_url":"https://api.github.com/repos/i2y/mochi/forks","keys_url":"https://api.github.com/repos/i2y/mochi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/i2y/mochi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/i2y/mochi/teams","hooks_url":"https://api.github.com/repos/i2y/mochi/hooks","issue_events_url":"https://api.github.com/repos/i2y/mochi/issues/events{/number}","events_url":"https://api.github.com/repos/i2y/mochi/events","assignees_url":"https://api.github.com/repos/i2y/mochi/assignees{/user}","branches_url":"https://api.github.com/repos/i2y/mochi/branches{/branch}","tags_url":"https://api.github.com/repos/i2y/mochi/tags","blobs_url":"https://api.github.com/repos/i2y/mochi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/i2y/mochi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/i2y/mochi/git/refs{/sha}","trees_url":"https://api.github.com/repos/i2y/mochi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/i2y/mochi/statuses/{sha}","languages_url":"https://api.github.com/repos/i2y/mochi/languages","stargazers_url":"https://api.github.com/repos/i2y/mochi/stargazers","contributors_url":"https://api.github.com/repos/i2y/mochi/contributors","subscribers_url":"https://api.github.com/repos/i2y/mochi/subscribers","subscription_url":"https://api.github.com/repos/i2y/mochi/subscription","commits_url":"https://api.github.com/repos/i2y/mochi/commits{/sha}","git_commits_url":"https://api.github.com/repos/i2y/mochi/git/commits{/sha}","comments_url":"https://api.github.com/repos/i2y/mochi/comments{/number}","issue_comment_url":"https://api.github.com/repos/i2y/mochi/issues/comments{/number}","contents_url":"https://api.github.com/repos/i2y/mochi/contents/{+path}","compare_url":"https://api.github.com/repos/i2y/mochi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/i2y/mochi/merges","archive_url":"https://api.github.com/repos/i2y/mochi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/i2y/mochi/downloads","issues_url":"https://api.github.com/repos/i2y/mochi/issues{/number}","pulls_url":"https://api.github.com/repos/i2y/mochi/pulls{/number}","milestones_url":"https://api.github.com/repos/i2y/mochi/milestones{/number}","notifications_url":"https://api.github.com/repos/i2y/mochi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/i2y/mochi/labels{/name}","releases_url":"https://api.github.com/repos/i2y/mochi/releases{/id}","created_at":"2014-11-09T13:35:19Z","updated_at":"2015-04-16T21:34:20Z","pushed_at":"2015-04-16T21:34:19Z","git_url":"git://github.com/i2y/mochi.git","ssh_url":"git@github.com:i2y/mochi.git","clone_url":"https://github.com/i2y/mochi.git","svn_url":"https://github.com/i2y/mochi","homepage":"","size":1271,"stargazers_count":770,"watchers_count":770,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":11,"forks":19,"open_issues":11,"watchers":770,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/i2y/mochi/pulls/21"},"html":{"href":"https://github.com/i2y/mochi/pull/21"},"issue":{"href":"https://api.github.com/repos/i2y/mochi/issues/21"},"comments":{"href":"https://api.github.com/repos/i2y/mochi/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/i2y/mochi/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/i2y/mochi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/i2y/mochi/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/i2y/mochi/statuses/cdd7c8f4f666142bf4399ae9a458d63c7c53ff64"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"i2y","id":6240399,"avatar_url":"https://avatars.githubusercontent.com/u/6240399?v=3","gravatar_id":"","url":"https://api.github.com/users/i2y","html_url":"https://github.com/i2y","followers_url":"https://api.github.com/users/i2y/followers","following_url":"https://api.github.com/users/i2y/following{/other_user}","gists_url":"https://api.github.com/users/i2y/gists{/gist_id}","starred_url":"https://api.github.com/users/i2y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i2y/subscriptions","organizations_url":"https://api.github.com/users/i2y/orgs","repos_url":"https://api.github.com/users/i2y/repos","events_url":"https://api.github.com/users/i2y/events{/privacy}","received_events_url":"https://api.github.com/users/i2y/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":9,"additions":319,"deletions":8,"changed_files":14}}