{"action":"opened","issue":{"url":"https://api.github.com/repos/archivematica/Issues/issues/41","repository_url":"https://api.github.com/repos/archivematica/Issues","labels_url":"https://api.github.com/repos/archivematica/Issues/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/archivematica/Issues/issues/41/comments","events_url":"https://api.github.com/repos/archivematica/Issues/issues/41/events","html_url":"https://github.com/archivematica/Issues/issues/41","id":344628164,"node_id":"MDU6SXNzdWUzNDQ2MjgxNjQ=","number":41,"title":"Problem: unit tests are missing for core package movement events","user":{"login":"jrwdunham","id":2504271,"node_id":"MDQ6VXNlcjI1MDQyNzE=","avatar_url":"https://avatars1.githubusercontent.com/u/2504271?v=4","gravatar_id":"","url":"https://api.github.com/users/jrwdunham","html_url":"https://github.com/jrwdunham","followers_url":"https://api.github.com/users/jrwdunham/followers","following_url":"https://api.github.com/users/jrwdunham/following{/other_user}","gists_url":"https://api.github.com/users/jrwdunham/gists{/gist_id}","starred_url":"https://api.github.com/users/jrwdunham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrwdunham/subscriptions","organizations_url":"https://api.github.com/users/jrwdunham/orgs","repos_url":"https://api.github.com/users/jrwdunham/repos","events_url":"https://api.github.com/users/jrwdunham/events{/privacy}","received_events_url":"https://api.github.com/users/jrwdunham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T22:21:25Z","updated_at":"2018-07-25T22:21:25Z","closed_at":null,"author_association":"NONE","body":"**Please describe the problem you'd like to be solved.**\r\n\r\nUnit tests are missing for several key package movement events (non-atomic complex changes of state.) In particular, where \"POSIX\" spoke-to-spoke move is purported to work, we don't have tests that show it does. Similarly, we fail to demonstrate that a redundant double package movement is newly being avoided.\r\n\r\n**Describe the solution you'd like to see implemented.**\r\n\r\nUnit tests where IO (disk, network, database, subprocesses) are mocked and referential transparency prevails!\r\n\r\n**Describe alternatives you've considered.**\r\n\r\nDo nothing and hope for the best.\r\n\r\n**Additional context**\r\n"}}
{"actor":{"display_login":"jrwdunham"}}