{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/16756","labels_url":"https://api.github.com/repos/docker/docker/issues/16756/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/16756/comments","events_url":"https://api.github.com/repos/docker/docker/issues/16756/events","html_url":"https://github.com/docker/docker/issues/16756","id":109725161,"number":16756,"title":"Proposal: use of checkers on Integration test","user":{"login":"HuKeping","id":9958621,"avatar_url":"https://avatars.githubusercontent.com/u/9958621?v=3","gravatar_id":"","url":"https://api.github.com/users/HuKeping","html_url":"https://github.com/HuKeping","followers_url":"https://api.github.com/users/HuKeping/followers","following_url":"https://api.github.com/users/HuKeping/following{/other_user}","gists_url":"https://api.github.com/users/HuKeping/gists{/gist_id}","starred_url":"https://api.github.com/users/HuKeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuKeping/subscriptions","organizations_url":"https://api.github.com/users/HuKeping/orgs","repos_url":"https://api.github.com/users/HuKeping/repos","events_url":"https://api.github.com/users/HuKeping/events{/privacy}","received_events_url":"https://api.github.com/users/HuKeping/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/exp/beginner","name":"exp/beginner","color":"A8DBA8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-05T03:29:20Z","updated_at":"2015-10-08T08:27:04Z","closed_at":null,"body":"Use c.Assert instead of those conditionals like \r\n```\r\nif err == nil {\r\n...\r\n}\r\n```\r\nI'll take integration-cli/docker_cli_search_test.go  #16758  as a sample. \r\n\r\n- [ ] integration-cli/docker_cli_inspect_test.go @MHBauer  #16784 \r\n- [ ] integration-cli/docker_cli_kill_test.go @zelahi \r\n- [ ] integration-cli/docker_cli_links_test.go\r\n- [ ] integration-cli/docker_cli_links_unix_test.go\r\n- [ ] integration-cli/docker_cli_login_test.go @cxxly \r\n- [ ] integration-cli/docker_cli_logs_test.go\r\n- [ ] integration-cli/docker_cli_nat_test.go\r\n- [ ] integration-cli/docker_cli_netmode_test.go\r\n- [ ] integration-cli/docker_cli_network_test.go\r\n- [ ] integration-cli/docker_cli_pause_test.go\r\n- [ ] integration-cli/docker_cli_port_test.go\r\n- [ ] integration-cli/docker_cli_proxy_test.go\r\n- [ ] integration-cli/docker_cli_ps_test.go\r\n- [ ] integration-cli/docker_cli_pull_local_test.go\r\n- [ ] integration-cli/docker_cli_pull_test.go\r\n- [ ] integration-cli/docker_cli_pull_trusted_test.go\r\n- [ ] integration-cli/docker_cli_push_test.go\r\n- [ ] integration-cli/docker_cli_rename_test.go @Crazykev \r\n- [ ] integration-cli/docker_cli_restart_test.go\r\n- [ ] integration-cli/docker_cli_rm_test.go @sunyuan3 \r\n- [ ] integration-cli/docker_cli_rmi_test.go\r\n- [ ] integration-cli/docker_cli_run_test.go @vdemeester \r\n- [ ] integration-cli/docker_cli_run_unix_test.go\r\n- [ ] integration-cli/docker_cli_save_load_test.go\r\n- [ ] integration-cli/docker_cli_save_load_unix_test.go\r\n- [x] integration-cli/docker_cli_search_test.go @HuKeping #16758 \r\n- [ ] integration-cli/docker_cli_service_test.go\r\n- [ ] integration-cli/docker_cli_start_test.go\r\n- [ ] integration-cli/docker_cli_start_volume_driver_unix_test.go\r\n- [ ] integration-cli/docker_cli_stats_test.go\r\n- [ ] integration-cli/docker_cli_tag_test.go\r\n- [ ] integration-cli/docker_cli_top_test.go\r\n- [ ] integration-cli/docker_cli_v2_only.go\r\n- [ ] integration-cli/docker_cli_version_test.go @Mageee \r\n- [ ] integration-cli/docker_cli_volume_test.go\r\n- [ ] integration-cli/docker_cli_wait_test.go\r\n- [ ] integration-cli/docker_hub_pull_suite_test.go\r\n- [ ] integration-cli/docker_test_vars.go\r\n- [ ] integration-cli/docker_utils.go"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/146455013","html_url":"https://github.com/docker/docker/issues/16756#issuecomment-146455013","issue_url":"https://api.github.com/repos/docker/docker/issues/16756","id":146455013,"user":{"login":"xlgao-zju","id":1636894,"avatar_url":"https://avatars.githubusercontent.com/u/1636894?v=3","gravatar_id":"","url":"https://api.github.com/users/xlgao-zju","html_url":"https://github.com/xlgao-zju","followers_url":"https://api.github.com/users/xlgao-zju/followers","following_url":"https://api.github.com/users/xlgao-zju/following{/other_user}","gists_url":"https://api.github.com/users/xlgao-zju/gists{/gist_id}","starred_url":"https://api.github.com/users/xlgao-zju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlgao-zju/subscriptions","organizations_url":"https://api.github.com/users/xlgao-zju/orgs","repos_url":"https://api.github.com/users/xlgao-zju/repos","events_url":"https://api.github.com/users/xlgao-zju/events{/privacy}","received_events_url":"https://api.github.com/users/xlgao-zju/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T08:27:03Z","updated_at":"2015-10-08T08:27:03Z","body":"I'll take `integration-cli/docker_cli_save_load_unix_test.go`."}}