{"action":"created","comment":{"url":"https://api.github.com/repos/docker/fig/pulls/comments/22545744","id":22545744,"diff_hunk":"@@ -40,11 +41,30 @@ def reader(*args, **kwargs):\n \n         self.assertIn(glyph, output)\n \n+    def test_notail(self):\n+        def reader(*args, **kwargs):\n+            for count in xrange(3):\n+                yield \"keep going\\n\"\n+                time.sleep(1)","path":"tests/unit/log_printer_test.py","position":16,"original_position":16,"commit_id":"14f6f7054595e6c4a97f3ef0aa321e1aac1e9bcb","original_commit_id":"14f6f7054595e6c4a97f3ef0aa321e1aac1e9bcb","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"body":"I always try to avoid any `sleep()` in tests. It slows things down unnecessarily.\r\n\r\nIs this actually required for the tests to pass?","created_at":"2015-01-06T19:37:26Z","updated_at":"2015-01-06T19:37:26Z","html_url":"https://github.com/docker/fig/pull/807#discussion_r22545744","pull_request_url":"https://api.github.com/repos/docker/fig/pulls/807","_links":{"self":{"href":"https://api.github.com/repos/docker/fig/pulls/comments/22545744"},"html":{"href":"https://github.com/docker/fig/pull/807#discussion_r22545744"},"pull_request":{"href":"https://api.github.com/repos/docker/fig/pulls/807"}}},"pull_request":{"url":"https://api.github.com/repos/docker/fig/pulls/807","id":26908929,"html_url":"https://github.com/docker/fig/pull/807","diff_url":"https://github.com/docker/fig/pull/807.diff","patch_url":"https://github.com/docker/fig/pull/807.patch","issue_url":"https://api.github.com/repos/docker/fig/issues/807","number":807,"state":"open","locked":false,"title":"changes default logging behavior to not tail logs","user":{"login":"btaitelb","id":549727,"avatar_url":"https://avatars.githubusercontent.com/u/549727?v=3","gravatar_id":"","url":"https://api.github.com/users/btaitelb","html_url":"https://github.com/btaitelb","followers_url":"https://api.github.com/users/btaitelb/followers","following_url":"https://api.github.com/users/btaitelb/following{/other_user}","gists_url":"https://api.github.com/users/btaitelb/gists{/gist_id}","starred_url":"https://api.github.com/users/btaitelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btaitelb/subscriptions","organizations_url":"https://api.github.com/users/btaitelb/orgs","repos_url":"https://api.github.com/users/btaitelb/repos","events_url":"https://api.github.com/users/btaitelb/events{/privacy}","received_events_url":"https://api.github.com/users/btaitelb/received_events","type":"User","site_admin":false},"body":"  - adds a `--tail` option to `fig logs`\r\n  - see docker/fig#802 for discussion of `--tail` vs `--no-tail`\r\n\r\nSigned-off-by: Ben Taitelbaum <ben@coshx.com>","created_at":"2015-01-06T18:51:25Z","updated_at":"2015-01-06T19:37:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd6dabd434c9ce55d5becf2c63277e2e6b4ce1ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/fig/pulls/807/commits","review_comments_url":"https://api.github.com/repos/docker/fig/pulls/807/comments","review_comment_url":"https://api.github.com/repos/docker/fig/pulls/comments/{number}","comments_url":"https://api.github.com/repos/docker/fig/issues/807/comments","statuses_url":"https://api.github.com/repos/docker/fig/statuses/14f6f7054595e6c4a97f3ef0aa321e1aac1e9bcb","head":{"label":"btaitelb:tail","ref":"tail","sha":"14f6f7054595e6c4a97f3ef0aa321e1aac1e9bcb","user":{"login":"btaitelb","id":549727,"avatar_url":"https://avatars.githubusercontent.com/u/549727?v=3","gravatar_id":"","url":"https://api.github.com/users/btaitelb","html_url":"https://github.com/btaitelb","followers_url":"https://api.github.com/users/btaitelb/followers","following_url":"https://api.github.com/users/btaitelb/following{/other_user}","gists_url":"https://api.github.com/users/btaitelb/gists{/gist_id}","starred_url":"https://api.github.com/users/btaitelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btaitelb/subscriptions","organizations_url":"https://api.github.com/users/btaitelb/orgs","repos_url":"https://api.github.com/users/btaitelb/repos","events_url":"https://api.github.com/users/btaitelb/events{/privacy}","received_events_url":"https://api.github.com/users/btaitelb/received_events","type":"User","site_admin":false},"repo":{"id":28838503,"name":"fig","full_name":"btaitelb/fig","owner":{"login":"btaitelb","id":549727,"avatar_url":"https://avatars.githubusercontent.com/u/549727?v=3","gravatar_id":"","url":"https://api.github.com/users/btaitelb","html_url":"https://github.com/btaitelb","followers_url":"https://api.github.com/users/btaitelb/followers","following_url":"https://api.github.com/users/btaitelb/following{/other_user}","gists_url":"https://api.github.com/users/btaitelb/gists{/gist_id}","starred_url":"https://api.github.com/users/btaitelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btaitelb/subscriptions","organizations_url":"https://api.github.com/users/btaitelb/orgs","repos_url":"https://api.github.com/users/btaitelb/repos","events_url":"https://api.github.com/users/btaitelb/events{/privacy}","received_events_url":"https://api.github.com/users/btaitelb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/btaitelb/fig","description":"Fast, isolated development environments using Docker","fork":true,"url":"https://api.github.com/repos/btaitelb/fig","forks_url":"https://api.github.com/repos/btaitelb/fig/forks","keys_url":"https://api.github.com/repos/btaitelb/fig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/btaitelb/fig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/btaitelb/fig/teams","hooks_url":"https://api.github.com/repos/btaitelb/fig/hooks","issue_events_url":"https://api.github.com/repos/btaitelb/fig/issues/events{/number}","events_url":"https://api.github.com/repos/btaitelb/fig/events","assignees_url":"https://api.github.com/repos/btaitelb/fig/assignees{/user}","branches_url":"https://api.github.com/repos/btaitelb/fig/branches{/branch}","tags_url":"https://api.github.com/repos/btaitelb/fig/tags","blobs_url":"https://api.github.com/repos/btaitelb/fig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/btaitelb/fig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/btaitelb/fig/git/refs{/sha}","trees_url":"https://api.github.com/repos/btaitelb/fig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/btaitelb/fig/statuses/{sha}","languages_url":"https://api.github.com/repos/btaitelb/fig/languages","stargazers_url":"https://api.github.com/repos/btaitelb/fig/stargazers","contributors_url":"https://api.github.com/repos/btaitelb/fig/contributors","subscribers_url":"https://api.github.com/repos/btaitelb/fig/subscribers","subscription_url":"https://api.github.com/repos/btaitelb/fig/subscription","commits_url":"https://api.github.com/repos/btaitelb/fig/commits{/sha}","git_commits_url":"https://api.github.com/repos/btaitelb/fig/git/commits{/sha}","comments_url":"https://api.github.com/repos/btaitelb/fig/comments{/number}","issue_comment_url":"https://api.github.com/repos/btaitelb/fig/issues/comments/{number}","contents_url":"https://api.github.com/repos/btaitelb/fig/contents/{+path}","compare_url":"https://api.github.com/repos/btaitelb/fig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/btaitelb/fig/merges","archive_url":"https://api.github.com/repos/btaitelb/fig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/btaitelb/fig/downloads","issues_url":"https://api.github.com/repos/btaitelb/fig/issues{/number}","pulls_url":"https://api.github.com/repos/btaitelb/fig/pulls{/number}","milestones_url":"https://api.github.com/repos/btaitelb/fig/milestones{/number}","notifications_url":"https://api.github.com/repos/btaitelb/fig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/btaitelb/fig/labels{/name}","releases_url":"https://api.github.com/repos/btaitelb/fig/releases{/id}","created_at":"2015-01-06T00:13:12Z","updated_at":"2015-01-06T00:13:13Z","pushed_at":"2015-01-06T18:49:55Z","git_url":"git://github.com/btaitelb/fig.git","ssh_url":"git@github.com:btaitelb/fig.git","clone_url":"https://github.com/btaitelb/fig.git","svn_url":"https://github.com/btaitelb/fig","homepage":"http://www.fig.sh","size":58433,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"be553e393a5e3e6d6721dde85c84b9715d039fb4","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":15045751,"name":"fig","full_name":"docker/fig","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/fig","description":"Fast, isolated development environments using Docker","fork":false,"url":"https://api.github.com/repos/docker/fig","forks_url":"https://api.github.com/repos/docker/fig/forks","keys_url":"https://api.github.com/repos/docker/fig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/fig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/fig/teams","hooks_url":"https://api.github.com/repos/docker/fig/hooks","issue_events_url":"https://api.github.com/repos/docker/fig/issues/events{/number}","events_url":"https://api.github.com/repos/docker/fig/events","assignees_url":"https://api.github.com/repos/docker/fig/assignees{/user}","branches_url":"https://api.github.com/repos/docker/fig/branches{/branch}","tags_url":"https://api.github.com/repos/docker/fig/tags","blobs_url":"https://api.github.com/repos/docker/fig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/fig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/fig/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/fig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/fig/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/fig/languages","stargazers_url":"https://api.github.com/repos/docker/fig/stargazers","contributors_url":"https://api.github.com/repos/docker/fig/contributors","subscribers_url":"https://api.github.com/repos/docker/fig/subscribers","subscription_url":"https://api.github.com/repos/docker/fig/subscription","commits_url":"https://api.github.com/repos/docker/fig/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/fig/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/fig/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/fig/issues/comments/{number}","contents_url":"https://api.github.com/repos/docker/fig/contents/{+path}","compare_url":"https://api.github.com/repos/docker/fig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/fig/merges","archive_url":"https://api.github.com/repos/docker/fig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/fig/downloads","issues_url":"https://api.github.com/repos/docker/fig/issues{/number}","pulls_url":"https://api.github.com/repos/docker/fig/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/fig/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/fig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/fig/labels{/name}","releases_url":"https://api.github.com/repos/docker/fig/releases{/id}","created_at":"2013-12-09T11:40:58Z","updated_at":"2015-01-06T16:39:04Z","pushed_at":"2015-01-05T18:05:48Z","git_url":"git://github.com/docker/fig.git","ssh_url":"git@github.com:docker/fig.git","clone_url":"https://github.com/docker/fig.git","svn_url":"https://github.com/docker/fig","homepage":"http://www.fig.sh","size":58433,"stargazers_count":4156,"watchers_count":4156,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":346,"mirror_url":null,"open_issues_count":245,"forks":346,"open_issues":245,"watchers":4156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/fig/pulls/807"},"html":{"href":"https://github.com/docker/fig/pull/807"},"issue":{"href":"https://api.github.com/repos/docker/fig/issues/807"},"comments":{"href":"https://api.github.com/repos/docker/fig/issues/807/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/fig/pulls/807/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/fig/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/docker/fig/pulls/807/commits"},"statuses":{"href":"https://api.github.com/repos/docker/fig/statuses/14f6f7054595e6c4a97f3ef0aa321e1aac1e9bcb"}}}}