{"action":"created","issue":{"url":"https://api.github.com/repos/unt-libraries/coda/issues/16","labels_url":"https://api.github.com/repos/unt-libraries/coda/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/unt-libraries/coda/issues/16/comments","events_url":"https://api.github.com/repos/unt-libraries/coda/issues/16/events","html_url":"https://github.com/unt-libraries/coda/pull/16","id":93355178,"number":16,"title":"Review DB Mocking","user":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unt-libraries/coda/labels/app/md_store","name":"app/md_store","color":"fad8c7"},{"url":"https://api.github.com/repos/unt-libraries/coda/labels/help%20wanted","name":"help wanted","color":"bfe5bf"},{"url":"https://api.github.com/repos/unt-libraries/coda/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/unt-libraries/coda/labels/tests","name":"tests","color":"207de5"},{"url":"https://api.github.com/repos/unt-libraries/coda/labels/views","name":"views","color":"c7def8"},{"url":"https://api.github.com/repos/unt-libraries/coda/labels/work%20in%20progress","name":"work in progress","color":"e7e7e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-07-06T19:14:24Z","updated_at":"2015-07-06T20:42:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unt-libraries/coda/pulls/16","html_url":"https://github.com/unt-libraries/coda/pull/16","diff_url":"https://github.com/unt-libraries/coda/pull/16.diff","patch_url":"https://github.com/unt-libraries/coda/pull/16.patch"},"body":"Would you all take a look at `coda/coda_mdstore/tests/test_views.py` and let me know what you think about this approach.\r\n\r\nhttps://github.com/unt-libraries/coda/pull/16/files#diff-86ad8b8225379ee56381d5b558d6ceb8\r\n\r\nBasically, what I am doing here is sandboxing a way of mocking the models that interact with the database so that I can get a better *unit* test for the views.\r\n\r\nA new PR will be opened for merging the reorganized tests into master."},"comment":{"url":"https://api.github.com/repos/unt-libraries/coda/issues/comments/118992656","html_url":"https://github.com/unt-libraries/coda/pull/16#issuecomment-118992656","issue_url":"https://api.github.com/repos/unt-libraries/coda/issues/16","id":118992656,"user":{"login":"damonkelley","id":4121849,"avatar_url":"https://avatars.githubusercontent.com/u/4121849?v=3","gravatar_id":"","url":"https://api.github.com/users/damonkelley","html_url":"https://github.com/damonkelley","followers_url":"https://api.github.com/users/damonkelley/followers","following_url":"https://api.github.com/users/damonkelley/following{/other_user}","gists_url":"https://api.github.com/users/damonkelley/gists{/gist_id}","starred_url":"https://api.github.com/users/damonkelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damonkelley/subscriptions","organizations_url":"https://api.github.com/users/damonkelley/orgs","repos_url":"https://api.github.com/users/damonkelley/repos","events_url":"https://api.github.com/users/damonkelley/events{/privacy}","received_events_url":"https://api.github.com/users/damonkelley/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T20:42:12Z","updated_at":"2015-07-06T20:42:12Z","body":"@ldko, I think that is the answer I am trying to get by opening this PR. If you or @somexpert were to pick up the tests, would you understand what is going on? (Of course would be added to make sense of some of it)\r\n"}}