{"action":"closed","number":31,"pull_request":{"url":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/31","id":43471089,"html_url":"https://github.com/rgill02/CircuitSolver/pull/31","diff_url":"https://github.com/rgill02/CircuitSolver/pull/31.diff","patch_url":"https://github.com/rgill02/CircuitSolver/pull/31.patch","issue_url":"https://api.github.com/repos/rgill02/CircuitSolver/issues/31","number":31,"state":"closed","locked":false,"title":"Api unit tests","user":{"login":"GrahamGoudeau21","id":8539625,"avatar_url":"https://avatars.githubusercontent.com/u/8539625?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamGoudeau21","html_url":"https://github.com/GrahamGoudeau21","followers_url":"https://api.github.com/users/GrahamGoudeau21/followers","following_url":"https://api.github.com/users/GrahamGoudeau21/following{/other_user}","gists_url":"https://api.github.com/users/GrahamGoudeau21/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamGoudeau21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamGoudeau21/subscriptions","organizations_url":"https://api.github.com/users/GrahamGoudeau21/orgs","repos_url":"https://api.github.com/users/GrahamGoudeau21/repos","events_url":"https://api.github.com/users/GrahamGoudeau21/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamGoudeau21/received_events","type":"User","site_admin":false},"body":"Based on top of PR #26.  That one should be merged before this one is.\r\n\r\nThis PR adds unit test coverage for the core circuit API, as well as makes a couple fixes to some logic in `Circuit.py` that makes the API more consistent and predictable.  The tests can be run from the root directory with `python src/unittest/python/Core_Circuit_API_tests.py`.","created_at":"2015-08-27T01:35:32Z","updated_at":"2015-08-29T13:39:05Z","closed_at":"2015-08-29T13:39:05Z","merged_at":"2015-08-29T13:39:05Z","merge_commit_sha":"9a207d655476a30d20a466b89a2acaee367e0f5c","assignee":{"login":"rgill02","id":9992630,"avatar_url":"https://avatars.githubusercontent.com/u/9992630?v=3","gravatar_id":"","url":"https://api.github.com/users/rgill02","html_url":"https://github.com/rgill02","followers_url":"https://api.github.com/users/rgill02/followers","following_url":"https://api.github.com/users/rgill02/following{/other_user}","gists_url":"https://api.github.com/users/rgill02/gists{/gist_id}","starred_url":"https://api.github.com/users/rgill02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgill02/subscriptions","organizations_url":"https://api.github.com/users/rgill02/orgs","repos_url":"https://api.github.com/users/rgill02/repos","events_url":"https://api.github.com/users/rgill02/events{/privacy}","received_events_url":"https://api.github.com/users/rgill02/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/31/commits","review_comments_url":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/31/comments","review_comment_url":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rgill02/CircuitSolver/issues/31/comments","statuses_url":"https://api.github.com/repos/rgill02/CircuitSolver/statuses/d8dfd05fabaedcf472a81dd1ec6dee305a060c3f","head":{"label":"GrahamGoudeau21:api_unit_tests","ref":"api_unit_tests","sha":"d8dfd05fabaedcf472a81dd1ec6dee305a060c3f","user":{"login":"GrahamGoudeau21","id":8539625,"avatar_url":"https://avatars.githubusercontent.com/u/8539625?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamGoudeau21","html_url":"https://github.com/GrahamGoudeau21","followers_url":"https://api.github.com/users/GrahamGoudeau21/followers","following_url":"https://api.github.com/users/GrahamGoudeau21/following{/other_user}","gists_url":"https://api.github.com/users/GrahamGoudeau21/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamGoudeau21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamGoudeau21/subscriptions","organizations_url":"https://api.github.com/users/GrahamGoudeau21/orgs","repos_url":"https://api.github.com/users/GrahamGoudeau21/repos","events_url":"https://api.github.com/users/GrahamGoudeau21/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamGoudeau21/received_events","type":"User","site_admin":false},"repo":{"id":41227478,"name":"CircuitSolver","full_name":"GrahamGoudeau21/CircuitSolver","owner":{"login":"GrahamGoudeau21","id":8539625,"avatar_url":"https://avatars.githubusercontent.com/u/8539625?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamGoudeau21","html_url":"https://github.com/GrahamGoudeau21","followers_url":"https://api.github.com/users/GrahamGoudeau21/followers","following_url":"https://api.github.com/users/GrahamGoudeau21/following{/other_user}","gists_url":"https://api.github.com/users/GrahamGoudeau21/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamGoudeau21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamGoudeau21/subscriptions","organizations_url":"https://api.github.com/users/GrahamGoudeau21/orgs","repos_url":"https://api.github.com/users/GrahamGoudeau21/repos","events_url":"https://api.github.com/users/GrahamGoudeau21/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamGoudeau21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GrahamGoudeau21/CircuitSolver","description":"Educational tool that teaches how to solve circuits by solving them one step at a time like a human would","fork":true,"url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver","forks_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/forks","keys_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/teams","hooks_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/hooks","issue_events_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/issues/events{/number}","events_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/events","assignees_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/assignees{/user}","branches_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/branches{/branch}","tags_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/tags","blobs_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/statuses/{sha}","languages_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/languages","stargazers_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/stargazers","contributors_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/contributors","subscribers_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/subscribers","subscription_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/subscription","commits_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/contents/{+path}","compare_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/merges","archive_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/downloads","issues_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/issues{/number}","pulls_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/pulls{/number}","milestones_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/milestones{/number}","notifications_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/labels{/name}","releases_url":"https://api.github.com/repos/GrahamGoudeau21/CircuitSolver/releases{/id}","created_at":"2015-08-22T23:01:02Z","updated_at":"2015-08-22T23:01:03Z","pushed_at":"2015-08-29T00:02:54Z","git_url":"git://github.com/GrahamGoudeau21/CircuitSolver.git","ssh_url":"git@github.com:GrahamGoudeau21/CircuitSolver.git","clone_url":"https://github.com/GrahamGoudeau21/CircuitSolver.git","svn_url":"https://github.com/GrahamGoudeau21/CircuitSolver","homepage":null,"size":46213,"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":"rgill02:master","ref":"master","sha":"fa4d4a95640273d6c5cc727826ce52cb90f87fbf","user":{"login":"rgill02","id":9992630,"avatar_url":"https://avatars.githubusercontent.com/u/9992630?v=3","gravatar_id":"","url":"https://api.github.com/users/rgill02","html_url":"https://github.com/rgill02","followers_url":"https://api.github.com/users/rgill02/followers","following_url":"https://api.github.com/users/rgill02/following{/other_user}","gists_url":"https://api.github.com/users/rgill02/gists{/gist_id}","starred_url":"https://api.github.com/users/rgill02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgill02/subscriptions","organizations_url":"https://api.github.com/users/rgill02/orgs","repos_url":"https://api.github.com/users/rgill02/repos","events_url":"https://api.github.com/users/rgill02/events{/privacy}","received_events_url":"https://api.github.com/users/rgill02/received_events","type":"User","site_admin":false},"repo":{"id":41219182,"name":"CircuitSolver","full_name":"rgill02/CircuitSolver","owner":{"login":"rgill02","id":9992630,"avatar_url":"https://avatars.githubusercontent.com/u/9992630?v=3","gravatar_id":"","url":"https://api.github.com/users/rgill02","html_url":"https://github.com/rgill02","followers_url":"https://api.github.com/users/rgill02/followers","following_url":"https://api.github.com/users/rgill02/following{/other_user}","gists_url":"https://api.github.com/users/rgill02/gists{/gist_id}","starred_url":"https://api.github.com/users/rgill02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgill02/subscriptions","organizations_url":"https://api.github.com/users/rgill02/orgs","repos_url":"https://api.github.com/users/rgill02/repos","events_url":"https://api.github.com/users/rgill02/events{/privacy}","received_events_url":"https://api.github.com/users/rgill02/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rgill02/CircuitSolver","description":"Educational tool that teaches how to solve circuits by solving them one step at a time like a human would","fork":false,"url":"https://api.github.com/repos/rgill02/CircuitSolver","forks_url":"https://api.github.com/repos/rgill02/CircuitSolver/forks","keys_url":"https://api.github.com/repos/rgill02/CircuitSolver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rgill02/CircuitSolver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rgill02/CircuitSolver/teams","hooks_url":"https://api.github.com/repos/rgill02/CircuitSolver/hooks","issue_events_url":"https://api.github.com/repos/rgill02/CircuitSolver/issues/events{/number}","events_url":"https://api.github.com/repos/rgill02/CircuitSolver/events","assignees_url":"https://api.github.com/repos/rgill02/CircuitSolver/assignees{/user}","branches_url":"https://api.github.com/repos/rgill02/CircuitSolver/branches{/branch}","tags_url":"https://api.github.com/repos/rgill02/CircuitSolver/tags","blobs_url":"https://api.github.com/repos/rgill02/CircuitSolver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rgill02/CircuitSolver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rgill02/CircuitSolver/git/refs{/sha}","trees_url":"https://api.github.com/repos/rgill02/CircuitSolver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rgill02/CircuitSolver/statuses/{sha}","languages_url":"https://api.github.com/repos/rgill02/CircuitSolver/languages","stargazers_url":"https://api.github.com/repos/rgill02/CircuitSolver/stargazers","contributors_url":"https://api.github.com/repos/rgill02/CircuitSolver/contributors","subscribers_url":"https://api.github.com/repos/rgill02/CircuitSolver/subscribers","subscription_url":"https://api.github.com/repos/rgill02/CircuitSolver/subscription","commits_url":"https://api.github.com/repos/rgill02/CircuitSolver/commits{/sha}","git_commits_url":"https://api.github.com/repos/rgill02/CircuitSolver/git/commits{/sha}","comments_url":"https://api.github.com/repos/rgill02/CircuitSolver/comments{/number}","issue_comment_url":"https://api.github.com/repos/rgill02/CircuitSolver/issues/comments{/number}","contents_url":"https://api.github.com/repos/rgill02/CircuitSolver/contents/{+path}","compare_url":"https://api.github.com/repos/rgill02/CircuitSolver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rgill02/CircuitSolver/merges","archive_url":"https://api.github.com/repos/rgill02/CircuitSolver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rgill02/CircuitSolver/downloads","issues_url":"https://api.github.com/repos/rgill02/CircuitSolver/issues{/number}","pulls_url":"https://api.github.com/repos/rgill02/CircuitSolver/pulls{/number}","milestones_url":"https://api.github.com/repos/rgill02/CircuitSolver/milestones{/number}","notifications_url":"https://api.github.com/repos/rgill02/CircuitSolver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rgill02/CircuitSolver/labels{/name}","releases_url":"https://api.github.com/repos/rgill02/CircuitSolver/releases{/id}","created_at":"2015-08-22T18:16:39Z","updated_at":"2015-08-22T23:21:05Z","pushed_at":"2015-08-29T13:39:06Z","git_url":"git://github.com/rgill02/CircuitSolver.git","ssh_url":"git@github.com:rgill02/CircuitSolver.git","clone_url":"https://github.com/rgill02/CircuitSolver.git","svn_url":"https://github.com/rgill02/CircuitSolver","homepage":null,"size":46401,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/31"},"html":{"href":"https://github.com/rgill02/CircuitSolver/pull/31"},"issue":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/issues/31"},"comments":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/rgill02/CircuitSolver/statuses/d8dfd05fabaedcf472a81dd1ec6dee305a060c3f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rgill02","id":9992630,"avatar_url":"https://avatars.githubusercontent.com/u/9992630?v=3","gravatar_id":"","url":"https://api.github.com/users/rgill02","html_url":"https://github.com/rgill02","followers_url":"https://api.github.com/users/rgill02/followers","following_url":"https://api.github.com/users/rgill02/following{/other_user}","gists_url":"https://api.github.com/users/rgill02/gists{/gist_id}","starred_url":"https://api.github.com/users/rgill02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgill02/subscriptions","organizations_url":"https://api.github.com/users/rgill02/orgs","repos_url":"https://api.github.com/users/rgill02/repos","events_url":"https://api.github.com/users/rgill02/events{/privacy}","received_events_url":"https://api.github.com/users/rgill02/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":7,"additions":243,"deletions":57,"changed_files":16}}