{"action":"closed","issue":{"url":"https://api.github.com/repos/SIGBlockchain/Project/issues/94","repository_url":"https://api.github.com/repos/SIGBlockchain/Project","labels_url":"https://api.github.com/repos/SIGBlockchain/Project/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/SIGBlockchain/Project/issues/94/comments","events_url":"https://api.github.com/repos/SIGBlockchain/Project/issues/94/events","html_url":"https://github.com/SIGBlockchain/Project/issues/94","id":378115547,"node_id":"MDU6SXNzdWUzNzgxMTU1NDc=","number":94,"title":"Blockchain test file setUp and tearDown","user":{"login":"kstola2","id":31855040,"node_id":"MDQ6VXNlcjMxODU1MDQw","avatar_url":"https://avatars1.githubusercontent.com/u/31855040?v=4","gravatar_id":"","url":"https://api.github.com/users/kstola2","html_url":"https://github.com/kstola2","followers_url":"https://api.github.com/users/kstola2/followers","following_url":"https://api.github.com/users/kstola2/following{/other_user}","gists_url":"https://api.github.com/users/kstola2/gists{/gist_id}","starred_url":"https://api.github.com/users/kstola2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstola2/subscriptions","organizations_url":"https://api.github.com/users/kstola2/orgs","repos_url":"https://api.github.com/users/kstola2/repos","events_url":"https://api.github.com/users/kstola2/events{/privacy}","received_events_url":"https://api.github.com/users/kstola2/received_events","type":"User","site_admin":false},"labels":[{"id":1069196282,"node_id":"MDU6TGFiZWwxMDY5MTk2Mjgy","url":"https://api.github.com/repos/SIGBlockchain/Project/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1083763217,"node_id":"MDU6TGFiZWwxMDgzNzYzMjE3","url":"https://api.github.com/repos/SIGBlockchain/Project/labels/scale","name":"scale","color":"88d140","default":false}],"state":"closed","locked":false,"assignee":{"login":"bashbashbash","id":1014295,"node_id":"MDQ6VXNlcjEwMTQyOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1014295?v=4","gravatar_id":"","url":"https://api.github.com/users/bashbashbash","html_url":"https://github.com/bashbashbash","followers_url":"https://api.github.com/users/bashbashbash/followers","following_url":"https://api.github.com/users/bashbashbash/following{/other_user}","gists_url":"https://api.github.com/users/bashbashbash/gists{/gist_id}","starred_url":"https://api.github.com/users/bashbashbash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bashbashbash/subscriptions","organizations_url":"https://api.github.com/users/bashbashbash/orgs","repos_url":"https://api.github.com/users/bashbashbash/repos","events_url":"https://api.github.com/users/bashbashbash/events{/privacy}","received_events_url":"https://api.github.com/users/bashbashbash/received_events","type":"User","site_admin":false},"assignees":[{"login":"bashbashbash","id":1014295,"node_id":"MDQ6VXNlcjEwMTQyOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1014295?v=4","gravatar_id":"","url":"https://api.github.com/users/bashbashbash","html_url":"https://github.com/bashbashbash","followers_url":"https://api.github.com/users/bashbashbash/followers","following_url":"https://api.github.com/users/bashbashbash/following{/other_user}","gists_url":"https://api.github.com/users/bashbashbash/gists{/gist_id}","starred_url":"https://api.github.com/users/bashbashbash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bashbashbash/subscriptions","organizations_url":"https://api.github.com/users/bashbashbash/orgs","repos_url":"https://api.github.com/users/bashbashbash/repos","events_url":"https://api.github.com/users/bashbashbash/events{/privacy}","received_events_url":"https://api.github.com/users/bashbashbash/received_events","type":"User","site_admin":false},{"login":"jldistefano","id":43453042,"node_id":"MDQ6VXNlcjQzNDUzMDQy","avatar_url":"https://avatars2.githubusercontent.com/u/43453042?v=4","gravatar_id":"","url":"https://api.github.com/users/jldistefano","html_url":"https://github.com/jldistefano","followers_url":"https://api.github.com/users/jldistefano/followers","following_url":"https://api.github.com/users/jldistefano/following{/other_user}","gists_url":"https://api.github.com/users/jldistefano/gists{/gist_id}","starred_url":"https://api.github.com/users/jldistefano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jldistefano/subscriptions","organizations_url":"https://api.github.com/users/jldistefano/orgs","repos_url":"https://api.github.com/users/jldistefano/repos","events_url":"https://api.github.com/users/jldistefano/events{/privacy}","received_events_url":"https://api.github.com/users/jldistefano/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-07T02:24:27Z","updated_at":"2018-11-10T02:32:13Z","closed_at":"2018-11-10T02:32:13Z","author_association":"MEMBER","body":"**Objective:**\r\nThe `unittest` module in Python allows for two class functions called `setUp` and `tearDown`. The way these work is that each time a test is selected to run, it first calls the `setUp` function. After that individual test function has finished, it calls the `tearDown` function, and moves onto the next test, repeating the call order. This is incredibly useful because it allows us to recycle code for each test.\r\n\r\n**TODO:**\r\nWrite a `setUp` function that creates a class (hint: use a `self` pointer) instance of the `Blockchain` object.\r\nWrite a `tearDown` function that removes the file created by the `Blockchain` constructor.\r\n\r\n[Documentation on setUp and tearDown.](https://docs.python.org/3/library/unittest.html#unittest.TestCase.setUp)"}}
{"actor":{"display_login":"kstola2"}}