{"comment":{"url":"https://api.github.com/repos/bigchaindb/bigchaindb/comments/25634313","html_url":"https://github.com/bigchaindb/bigchaindb/commit/e27c1e9cef22bf0b28f8cd00ee17b5b7cf74ec4b#commitcomment-25634313","id":25634313,"user":{"login":"sbellem","id":125458,"avatar_url":"https://avatars2.githubusercontent.com/u/125458?v=4","gravatar_id":"","url":"https://api.github.com/users/sbellem","html_url":"https://github.com/sbellem","followers_url":"https://api.github.com/users/sbellem/followers","following_url":"https://api.github.com/users/sbellem/following{/other_user}","gists_url":"https://api.github.com/users/sbellem/gists{/gist_id}","starred_url":"https://api.github.com/users/sbellem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbellem/subscriptions","organizations_url":"https://api.github.com/users/sbellem/orgs","repos_url":"https://api.github.com/users/sbellem/repos","events_url":"https://api.github.com/users/sbellem/events{/privacy}","received_events_url":"https://api.github.com/users/sbellem/received_events","type":"User","site_admin":false},"position":16,"line":16,"path":"tests/tendermint/test_integration.py","commit_id":"e27c1e9cef22bf0b28f8cd00ee17b5b7cf74ec4b","created_at":"2017-11-15T17:30:56Z","updated_at":"2017-11-15T17:30:56Z","author_association":"OWNER","body":"We only want to import \"our\" own code inside the function, to avoid that potential failures in \"our\" code causes the entire module to fail.\r\n\r\nFor code that is \"not under test\", meaning code that is from the standard library, or third-party libraries, we can assume that this code is \"reliable\", and thus can import it outside, at the top of the module as per PEP 8.\r\n\r\nThis approach is based on https://pylonsproject.org/community-unit-testing-guidelines.html"}}
{"actor":{"display_login":"sbellem"}}