{"action":"closed","issue":{"url":"https://api.github.com/repos/cfe-lab/Kive/issues/494","labels_url":"https://api.github.com/repos/cfe-lab/Kive/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/cfe-lab/Kive/issues/494/comments","events_url":"https://api.github.com/repos/cfe-lab/Kive/issues/494/events","html_url":"https://github.com/cfe-lab/Kive/issues/494","id":125268933,"number":494,"title":"Tests destroy data folder","user":{"login":"donkirkby","id":1639148,"avatar_url":"https://avatars.githubusercontent.com/u/1639148?v=3","gravatar_id":"","url":"https://api.github.com/users/donkirkby","html_url":"https://github.com/donkirkby","followers_url":"https://api.github.com/users/donkirkby/followers","following_url":"https://api.github.com/users/donkirkby/following{/other_user}","gists_url":"https://api.github.com/users/donkirkby/gists{/gist_id}","starred_url":"https://api.github.com/users/donkirkby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donkirkby/subscriptions","organizations_url":"https://api.github.com/users/donkirkby/orgs","repos_url":"https://api.github.com/users/donkirkby/repos","events_url":"https://api.github.com/users/donkirkby/events{/privacy}","received_events_url":"https://api.github.com/users/donkirkby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cfe-lab/Kive/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/cfe-lab/Kive/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"donkirkby","id":1639148,"avatar_url":"https://avatars.githubusercontent.com/u/1639148?v=3","gravatar_id":"","url":"https://api.github.com/users/donkirkby","html_url":"https://github.com/donkirkby","followers_url":"https://api.github.com/users/donkirkby/followers","following_url":"https://api.github.com/users/donkirkby/following{/other_user}","gists_url":"https://api.github.com/users/donkirkby/gists{/gist_id}","starred_url":"https://api.github.com/users/donkirkby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donkirkby/subscriptions","organizations_url":"https://api.github.com/users/donkirkby/orgs","repos_url":"https://api.github.com/users/donkirkby/repos","events_url":"https://api.github.com/users/donkirkby/events{/privacy}","received_events_url":"https://api.github.com/users/donkirkby/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cfe-lab/Kive/milestones/15","html_url":"https://github.com/cfe-lab/Kive/milestones/0.7%20-%20user%20batching","labels_url":"https://api.github.com/repos/cfe-lab/Kive/milestones/15/labels","id":1327761,"number":15,"title":"0.7 - user batching","description":"","creator":{"login":"ArtPoon","id":1109328,"avatar_url":"https://avatars.githubusercontent.com/u/1109328?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtPoon","html_url":"https://github.com/ArtPoon","followers_url":"https://api.github.com/users/ArtPoon/followers","following_url":"https://api.github.com/users/ArtPoon/following{/other_user}","gists_url":"https://api.github.com/users/ArtPoon/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtPoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtPoon/subscriptions","organizations_url":"https://api.github.com/users/ArtPoon/orgs","repos_url":"https://api.github.com/users/ArtPoon/repos","events_url":"https://api.github.com/users/ArtPoon/events{/privacy}","received_events_url":"https://api.github.com/users/ArtPoon/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":19,"state":"open","created_at":"2015-09-28T20:01:58Z","updated_at":"2016-01-11T21:10:17Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-06T21:36:42Z","updated_at":"2016-01-11T21:10:17Z","closed_at":"2016-01-11T21:10:17Z","body":"Running the unit tests is supposed to back up the data folder before setting up test code resources, datasets, and so on. It's then supposed to restore them after the test.\n\nUnfortunately, it's not working. The backup is also useless. Perhaps one of the tests is not calling the restore step properly, then the next test wipes out the useful backup.\n\n* [x] Make the backup step fail if there's already a backup folder. At least that way we won't wipe out the useful backup.\n* [x] Fix the tests that are not restoring the backup."}}