{"action":"created","comment":{"url":"https://api.github.com/repos/funkybob/stencil/pulls/comments/88995379","pull_request_review_id":9549617,"id":88995379,"diff_hunk":"@@ -0,0 +1,37 @@\n+# -*- coding: utf-8 -*-\n+\n+\n+import stencil\n+\n+from stencil import BlockNode, Token\n+\n+\n+class TestTag(BlockNode):\n+    name = 'test'\n+\n+    def render(self, context, output):\n+        output.write(u'test')\n+\n+\n+def test_tokenise():\n+    \"\"\"Test :py:func:`stencil.tokenise` function.\"\"\"\n+\n+    it_token = stencil.tokenise('abc {{ x }} xyz')\n+\n+    token = next(it_token)\n+    assert token is not None","path":"tests/unit/test_lib.py","position":22,"original_position":22,"commit_id":"05586f36ce7e84e933a86c7a5f9fd326a52ef2b2","original_commit_id":"05586f36ce7e84e933a86c7a5f9fd326a52ef2b2","user":{"login":"steenzout","id":571590,"avatar_url":"https://avatars.githubusercontent.com/u/571590?v=3","gravatar_id":"","url":"https://api.github.com/users/steenzout","html_url":"https://github.com/steenzout","followers_url":"https://api.github.com/users/steenzout/followers","following_url":"https://api.github.com/users/steenzout/following{/other_user}","gists_url":"https://api.github.com/users/steenzout/gists{/gist_id}","starred_url":"https://api.github.com/users/steenzout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steenzout/subscriptions","organizations_url":"https://api.github.com/users/steenzout/orgs","repos_url":"https://api.github.com/users/steenzout/repos","events_url":"https://api.github.com/users/steenzout/events{/privacy}","received_events_url":"https://api.github.com/users/steenzout/received_events","type":"User","site_admin":false},"body":"got it. it's an easy change.","created_at":"2016-11-21T21:44:59Z","updated_at":"2016-11-21T21:44:59Z","html_url":"https://github.com/funkybob/stencil/pull/12#discussion_r88995379","pull_request_url":"https://api.github.com/repos/funkybob/stencil/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/funkybob/stencil/pulls/comments/88995379"},"html":{"href":"https://github.com/funkybob/stencil/pull/12#discussion_r88995379"},"pull_request":{"href":"https://api.github.com/repos/funkybob/stencil/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/funkybob/stencil/pulls/12","id":94649774,"html_url":"https://github.com/funkybob/stencil/pull/12","diff_url":"https://github.com/funkybob/stencil/pull/12.diff","patch_url":"https://github.com/funkybob/stencil/pull/12.patch","issue_url":"https://api.github.com/repos/funkybob/stencil/issues/12","number":12,"state":"open","locked":false,"title":"tests","user":{"login":"steenzout","id":571590,"avatar_url":"https://avatars.githubusercontent.com/u/571590?v=3","gravatar_id":"","url":"https://api.github.com/users/steenzout","html_url":"https://github.com/steenzout","followers_url":"https://api.github.com/users/steenzout/followers","following_url":"https://api.github.com/users/steenzout/following{/other_user}","gists_url":"https://api.github.com/users/steenzout/gists{/gist_id}","starred_url":"https://api.github.com/users/steenzout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steenzout/subscriptions","organizations_url":"https://api.github.com/users/steenzout/orgs","repos_url":"https://api.github.com/users/steenzout/repos","events_url":"https://api.github.com/users/steenzout/events{/privacy}","received_events_url":"https://api.github.com/users/steenzout/received_events","type":"User","site_admin":false},"body":"- added `.travis.yml`\r\n- added tox support\r\n- use pytest for testing\r\n- setup tests for Python 2.7 and several 3.x versions\r\n- re-organized tests into its own `tests` directory\r\n- separated integration from unit tests\r\n- added test dependencies into `requirements-tests.txt`\r\n- updated `.gitignore` rules\r\n- added Python3 classifiers (integration tests pass Python 3 so code is supposed to work)\r\n- added unit test for `stencil.tokenise`\r\n\r\n@funkybob if you like this structure I'll continue adding unit tests (code coverage is now 34% (+1%)).","created_at":"2016-11-21T16:33:29Z","updated_at":"2016-11-21T21:44:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fdcd631443a7001c4edb335e8f28ea2b463676e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/funkybob/stencil/pulls/12/commits","review_comments_url":"https://api.github.com/repos/funkybob/stencil/pulls/12/comments","review_comment_url":"https://api.github.com/repos/funkybob/stencil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/funkybob/stencil/issues/12/comments","statuses_url":"https://api.github.com/repos/funkybob/stencil/statuses/05586f36ce7e84e933a86c7a5f9fd326a52ef2b2","head":{"label":"steenzout:master","ref":"master","sha":"05586f36ce7e84e933a86c7a5f9fd326a52ef2b2","user":{"login":"steenzout","id":571590,"avatar_url":"https://avatars.githubusercontent.com/u/571590?v=3","gravatar_id":"","url":"https://api.github.com/users/steenzout","html_url":"https://github.com/steenzout","followers_url":"https://api.github.com/users/steenzout/followers","following_url":"https://api.github.com/users/steenzout/following{/other_user}","gists_url":"https://api.github.com/users/steenzout/gists{/gist_id}","starred_url":"https://api.github.com/users/steenzout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steenzout/subscriptions","organizations_url":"https://api.github.com/users/steenzout/orgs","repos_url":"https://api.github.com/users/steenzout/repos","events_url":"https://api.github.com/users/steenzout/events{/privacy}","received_events_url":"https://api.github.com/users/steenzout/received_events","type":"User","site_admin":false},"repo":{"id":74178479,"name":"python-stencil","full_name":"steenzout/python-stencil","owner":{"login":"steenzout","id":571590,"avatar_url":"https://avatars.githubusercontent.com/u/571590?v=3","gravatar_id":"","url":"https://api.github.com/users/steenzout","html_url":"https://github.com/steenzout","followers_url":"https://api.github.com/users/steenzout/followers","following_url":"https://api.github.com/users/steenzout/following{/other_user}","gists_url":"https://api.github.com/users/steenzout/gists{/gist_id}","starred_url":"https://api.github.com/users/steenzout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steenzout/subscriptions","organizations_url":"https://api.github.com/users/steenzout/orgs","repos_url":"https://api.github.com/users/steenzout/repos","events_url":"https://api.github.com/users/steenzout/events{/privacy}","received_events_url":"https://api.github.com/users/steenzout/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steenzout/python-stencil","description":"A minimalist template engine for Python","fork":true,"url":"https://api.github.com/repos/steenzout/python-stencil","forks_url":"https://api.github.com/repos/steenzout/python-stencil/forks","keys_url":"https://api.github.com/repos/steenzout/python-stencil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steenzout/python-stencil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steenzout/python-stencil/teams","hooks_url":"https://api.github.com/repos/steenzout/python-stencil/hooks","issue_events_url":"https://api.github.com/repos/steenzout/python-stencil/issues/events{/number}","events_url":"https://api.github.com/repos/steenzout/python-stencil/events","assignees_url":"https://api.github.com/repos/steenzout/python-stencil/assignees{/user}","branches_url":"https://api.github.com/repos/steenzout/python-stencil/branches{/branch}","tags_url":"https://api.github.com/repos/steenzout/python-stencil/tags","blobs_url":"https://api.github.com/repos/steenzout/python-stencil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steenzout/python-stencil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steenzout/python-stencil/git/refs{/sha}","trees_url":"https://api.github.com/repos/steenzout/python-stencil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steenzout/python-stencil/statuses/{sha}","languages_url":"https://api.github.com/repos/steenzout/python-stencil/languages","stargazers_url":"https://api.github.com/repos/steenzout/python-stencil/stargazers","contributors_url":"https://api.github.com/repos/steenzout/python-stencil/contributors","subscribers_url":"https://api.github.com/repos/steenzout/python-stencil/subscribers","subscription_url":"https://api.github.com/repos/steenzout/python-stencil/subscription","commits_url":"https://api.github.com/repos/steenzout/python-stencil/commits{/sha}","git_commits_url":"https://api.github.com/repos/steenzout/python-stencil/git/commits{/sha}","comments_url":"https://api.github.com/repos/steenzout/python-stencil/comments{/number}","issue_comment_url":"https://api.github.com/repos/steenzout/python-stencil/issues/comments{/number}","contents_url":"https://api.github.com/repos/steenzout/python-stencil/contents/{+path}","compare_url":"https://api.github.com/repos/steenzout/python-stencil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steenzout/python-stencil/merges","archive_url":"https://api.github.com/repos/steenzout/python-stencil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steenzout/python-stencil/downloads","issues_url":"https://api.github.com/repos/steenzout/python-stencil/issues{/number}","pulls_url":"https://api.github.com/repos/steenzout/python-stencil/pulls{/number}","milestones_url":"https://api.github.com/repos/steenzout/python-stencil/milestones{/number}","notifications_url":"https://api.github.com/repos/steenzout/python-stencil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steenzout/python-stencil/labels{/name}","releases_url":"https://api.github.com/repos/steenzout/python-stencil/releases{/id}","deployments_url":"https://api.github.com/repos/steenzout/python-stencil/deployments","created_at":"2016-11-19T01:04:25Z","updated_at":"2016-11-19T01:04:55Z","pushed_at":"2016-11-21T17:12:41Z","git_url":"git://github.com/steenzout/python-stencil.git","ssh_url":"git@github.com:steenzout/python-stencil.git","clone_url":"https://github.com/steenzout/python-stencil.git","svn_url":"https://github.com/steenzout/python-stencil","homepage":null,"size":69,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"funkybob:master","ref":"master","sha":"bd714588b6217ac680c4cd6418313e760b5bb1c3","user":{"login":"funkybob","id":301363,"avatar_url":"https://avatars.githubusercontent.com/u/301363?v=3","gravatar_id":"","url":"https://api.github.com/users/funkybob","html_url":"https://github.com/funkybob","followers_url":"https://api.github.com/users/funkybob/followers","following_url":"https://api.github.com/users/funkybob/following{/other_user}","gists_url":"https://api.github.com/users/funkybob/gists{/gist_id}","starred_url":"https://api.github.com/users/funkybob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkybob/subscriptions","organizations_url":"https://api.github.com/users/funkybob/orgs","repos_url":"https://api.github.com/users/funkybob/repos","events_url":"https://api.github.com/users/funkybob/events{/privacy}","received_events_url":"https://api.github.com/users/funkybob/received_events","type":"User","site_admin":false},"repo":{"id":65439104,"name":"stencil","full_name":"funkybob/stencil","owner":{"login":"funkybob","id":301363,"avatar_url":"https://avatars.githubusercontent.com/u/301363?v=3","gravatar_id":"","url":"https://api.github.com/users/funkybob","html_url":"https://github.com/funkybob","followers_url":"https://api.github.com/users/funkybob/followers","following_url":"https://api.github.com/users/funkybob/following{/other_user}","gists_url":"https://api.github.com/users/funkybob/gists{/gist_id}","starred_url":"https://api.github.com/users/funkybob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkybob/subscriptions","organizations_url":"https://api.github.com/users/funkybob/orgs","repos_url":"https://api.github.com/users/funkybob/repos","events_url":"https://api.github.com/users/funkybob/events{/privacy}","received_events_url":"https://api.github.com/users/funkybob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/funkybob/stencil","description":"A minimalist template engine for Python2","fork":false,"url":"https://api.github.com/repos/funkybob/stencil","forks_url":"https://api.github.com/repos/funkybob/stencil/forks","keys_url":"https://api.github.com/repos/funkybob/stencil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/funkybob/stencil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/funkybob/stencil/teams","hooks_url":"https://api.github.com/repos/funkybob/stencil/hooks","issue_events_url":"https://api.github.com/repos/funkybob/stencil/issues/events{/number}","events_url":"https://api.github.com/repos/funkybob/stencil/events","assignees_url":"https://api.github.com/repos/funkybob/stencil/assignees{/user}","branches_url":"https://api.github.com/repos/funkybob/stencil/branches{/branch}","tags_url":"https://api.github.com/repos/funkybob/stencil/tags","blobs_url":"https://api.github.com/repos/funkybob/stencil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/funkybob/stencil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/funkybob/stencil/git/refs{/sha}","trees_url":"https://api.github.com/repos/funkybob/stencil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/funkybob/stencil/statuses/{sha}","languages_url":"https://api.github.com/repos/funkybob/stencil/languages","stargazers_url":"https://api.github.com/repos/funkybob/stencil/stargazers","contributors_url":"https://api.github.com/repos/funkybob/stencil/contributors","subscribers_url":"https://api.github.com/repos/funkybob/stencil/subscribers","subscription_url":"https://api.github.com/repos/funkybob/stencil/subscription","commits_url":"https://api.github.com/repos/funkybob/stencil/commits{/sha}","git_commits_url":"https://api.github.com/repos/funkybob/stencil/git/commits{/sha}","comments_url":"https://api.github.com/repos/funkybob/stencil/comments{/number}","issue_comment_url":"https://api.github.com/repos/funkybob/stencil/issues/comments{/number}","contents_url":"https://api.github.com/repos/funkybob/stencil/contents/{+path}","compare_url":"https://api.github.com/repos/funkybob/stencil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/funkybob/stencil/merges","archive_url":"https://api.github.com/repos/funkybob/stencil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/funkybob/stencil/downloads","issues_url":"https://api.github.com/repos/funkybob/stencil/issues{/number}","pulls_url":"https://api.github.com/repos/funkybob/stencil/pulls{/number}","milestones_url":"https://api.github.com/repos/funkybob/stencil/milestones{/number}","notifications_url":"https://api.github.com/repos/funkybob/stencil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/funkybob/stencil/labels{/name}","releases_url":"https://api.github.com/repos/funkybob/stencil/releases{/id}","deployments_url":"https://api.github.com/repos/funkybob/stencil/deployments","created_at":"2016-08-11T04:44:40Z","updated_at":"2016-11-20T01:30:56Z","pushed_at":"2016-11-21T17:12:41Z","git_url":"git://github.com/funkybob/stencil.git","ssh_url":"git@github.com:funkybob/stencil.git","clone_url":"https://github.com/funkybob/stencil.git","svn_url":"https://github.com/funkybob/stencil","homepage":"","size":66,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/funkybob/stencil/pulls/12"},"html":{"href":"https://github.com/funkybob/stencil/pull/12"},"issue":{"href":"https://api.github.com/repos/funkybob/stencil/issues/12"},"comments":{"href":"https://api.github.com/repos/funkybob/stencil/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/funkybob/stencil/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/funkybob/stencil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/funkybob/stencil/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/funkybob/stencil/statuses/05586f36ce7e84e933a86c7a5f9fd326a52ef2b2"}}}}
{"actor":{"display_login":"steenzout"}}