{"action":"created","comment":{"url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/comments/29287487","id":29287487,"diff_hunk":"@@ -0,0 +1,32 @@\n+\n+from unittest import TestCase\n+from pyramid_mustache import (\n+    LexRenderer,\n+)\n+import pystache\n+from pystache import Renderer\n+\n+our_template=u\"\"\"{{#Patent}}\n+       <h4>\n+         <a href=\"/patent/{{link_number}}\">\n+           <span class=\"label label-patent-big\">{{link_number}}</span>\n+         </a>\n+         {{#title}}{{.}}{{/title}}\n+       </h4>\n+ {{/Patent}}\"\"\"\n+\n+\n+class TestMustache(TestCase):\n+\n+    def test_mustache_default(self):\n+        renderer = Renderer()\n+        output = renderer.render(our_template, {'Patent':{'title':'foo-bar','link_number':[u'1234']}})","path":"pyramid_mustache/tests/test_mustache.py","position":23,"original_position":23,"commit_id":"011f293e51e308a81aea73ffec44fe7f7fa73e47","original_commit_id":"011f293e51e308a81aea73ffec44fe7f7fa73e47","user":{"login":"npilon","id":382517,"avatar_url":"https://avatars.githubusercontent.com/u/382517?v=3","gravatar_id":"","url":"https://api.github.com/users/npilon","html_url":"https://github.com/npilon","followers_url":"https://api.github.com/users/npilon/followers","following_url":"https://api.github.com/users/npilon/following{/other_user}","gists_url":"https://api.github.com/users/npilon/gists{/gist_id}","starred_url":"https://api.github.com/users/npilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npilon/subscriptions","organizations_url":"https://api.github.com/users/npilon/orgs","repos_url":"https://api.github.com/users/npilon/repos","events_url":"https://api.github.com/users/npilon/events{/privacy}","received_events_url":"https://api.github.com/users/npilon/received_events","type":"User","site_admin":false},"body":"Do we have test cases for the \"just a string\" version too?","created_at":"2015-04-28T20:55:14Z","updated_at":"2015-04-28T20:55:14Z","html_url":"https://github.com/LexMachinaInc/pyramid_mustache/pull/1#discussion_r29287487","pull_request_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/comments/29287487"},"html":{"href":"https://github.com/LexMachinaInc/pyramid_mustache/pull/1#discussion_r29287487"},"pull_request":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1","id":33720865,"html_url":"https://github.com/LexMachinaInc/pyramid_mustache/pull/1","diff_url":"https://github.com/LexMachinaInc/pyramid_mustache/pull/1.diff","patch_url":"https://github.com/LexMachinaInc/pyramid_mustache/pull/1.patch","issue_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/1","number":1,"state":"open","locked":false,"title":"#6019 handle list of strs from python","user":{"login":"jdoranster","id":100134,"avatar_url":"https://avatars.githubusercontent.com/u/100134?v=3","gravatar_id":"","url":"https://api.github.com/users/jdoranster","html_url":"https://github.com/jdoranster","followers_url":"https://api.github.com/users/jdoranster/followers","following_url":"https://api.github.com/users/jdoranster/following{/other_user}","gists_url":"https://api.github.com/users/jdoranster/gists{/gist_id}","starred_url":"https://api.github.com/users/jdoranster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdoranster/subscriptions","organizations_url":"https://api.github.com/users/jdoranster/orgs","repos_url":"https://api.github.com/users/jdoranster/repos","events_url":"https://api.github.com/users/jdoranster/events{/privacy}","received_events_url":"https://api.github.com/users/jdoranster/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T01:04:24Z","updated_at":"2015-04-28T20:55:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42123f2848a4ff961a058dc3a4125a74b546de96","assignee":{"login":"npilon","id":382517,"avatar_url":"https://avatars.githubusercontent.com/u/382517?v=3","gravatar_id":"","url":"https://api.github.com/users/npilon","html_url":"https://github.com/npilon","followers_url":"https://api.github.com/users/npilon/followers","following_url":"https://api.github.com/users/npilon/following{/other_user}","gists_url":"https://api.github.com/users/npilon/gists{/gist_id}","starred_url":"https://api.github.com/users/npilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npilon/subscriptions","organizations_url":"https://api.github.com/users/npilon/orgs","repos_url":"https://api.github.com/users/npilon/repos","events_url":"https://api.github.com/users/npilon/events{/privacy}","received_events_url":"https://api.github.com/users/npilon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1/commits","review_comments_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1/comments","review_comment_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/1/comments","statuses_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/statuses/011f293e51e308a81aea73ffec44fe7f7fa73e47","head":{"label":"LexMachinaInc:unicode_lists","ref":"unicode_lists","sha":"011f293e51e308a81aea73ffec44fe7f7fa73e47","user":{"login":"LexMachinaInc","id":1168494,"avatar_url":"https://avatars.githubusercontent.com/u/1168494?v=3","gravatar_id":"","url":"https://api.github.com/users/LexMachinaInc","html_url":"https://github.com/LexMachinaInc","followers_url":"https://api.github.com/users/LexMachinaInc/followers","following_url":"https://api.github.com/users/LexMachinaInc/following{/other_user}","gists_url":"https://api.github.com/users/LexMachinaInc/gists{/gist_id}","starred_url":"https://api.github.com/users/LexMachinaInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexMachinaInc/subscriptions","organizations_url":"https://api.github.com/users/LexMachinaInc/orgs","repos_url":"https://api.github.com/users/LexMachinaInc/repos","events_url":"https://api.github.com/users/LexMachinaInc/events{/privacy}","received_events_url":"https://api.github.com/users/LexMachinaInc/received_events","type":"Organization","site_admin":false},"repo":{"id":5813042,"name":"pyramid_mustache","full_name":"LexMachinaInc/pyramid_mustache","owner":{"login":"LexMachinaInc","id":1168494,"avatar_url":"https://avatars.githubusercontent.com/u/1168494?v=3","gravatar_id":"","url":"https://api.github.com/users/LexMachinaInc","html_url":"https://github.com/LexMachinaInc","followers_url":"https://api.github.com/users/LexMachinaInc/followers","following_url":"https://api.github.com/users/LexMachinaInc/following{/other_user}","gists_url":"https://api.github.com/users/LexMachinaInc/gists{/gist_id}","starred_url":"https://api.github.com/users/LexMachinaInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexMachinaInc/subscriptions","organizations_url":"https://api.github.com/users/LexMachinaInc/orgs","repos_url":"https://api.github.com/users/LexMachinaInc/repos","events_url":"https://api.github.com/users/LexMachinaInc/events{/privacy}","received_events_url":"https://api.github.com/users/LexMachinaInc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LexMachinaInc/pyramid_mustache","description":"Extensions for pyramid to use mustache as the rendering engine","fork":true,"url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache","forks_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/forks","keys_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/teams","hooks_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/hooks","issue_events_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/events{/number}","events_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/events","assignees_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/assignees{/user}","branches_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/branches{/branch}","tags_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/tags","blobs_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/refs{/sha}","trees_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/statuses/{sha}","languages_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/languages","stargazers_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/stargazers","contributors_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/contributors","subscribers_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/subscribers","subscription_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/subscription","commits_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/commits{/sha}","git_commits_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/commits{/sha}","comments_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/comments{/number}","issue_comment_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/comments{/number}","contents_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/contents/{+path}","compare_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/merges","archive_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/downloads","issues_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues{/number}","pulls_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls{/number}","milestones_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/milestones{/number}","notifications_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/labels{/name}","releases_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/releases{/id}","created_at":"2012-09-14T18:22:29Z","updated_at":"2014-07-28T18:59:41Z","pushed_at":"2015-04-21T19:38:59Z","git_url":"git://github.com/LexMachinaInc/pyramid_mustache.git","ssh_url":"git@github.com:LexMachinaInc/pyramid_mustache.git","clone_url":"https://github.com/LexMachinaInc/pyramid_mustache.git","svn_url":"https://github.com/LexMachinaInc/pyramid_mustache","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LexMachinaInc:master","ref":"master","sha":"865f1ed11a83985448646218852b1c8b2a0afa4b","user":{"login":"LexMachinaInc","id":1168494,"avatar_url":"https://avatars.githubusercontent.com/u/1168494?v=3","gravatar_id":"","url":"https://api.github.com/users/LexMachinaInc","html_url":"https://github.com/LexMachinaInc","followers_url":"https://api.github.com/users/LexMachinaInc/followers","following_url":"https://api.github.com/users/LexMachinaInc/following{/other_user}","gists_url":"https://api.github.com/users/LexMachinaInc/gists{/gist_id}","starred_url":"https://api.github.com/users/LexMachinaInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexMachinaInc/subscriptions","organizations_url":"https://api.github.com/users/LexMachinaInc/orgs","repos_url":"https://api.github.com/users/LexMachinaInc/repos","events_url":"https://api.github.com/users/LexMachinaInc/events{/privacy}","received_events_url":"https://api.github.com/users/LexMachinaInc/received_events","type":"Organization","site_admin":false},"repo":{"id":5813042,"name":"pyramid_mustache","full_name":"LexMachinaInc/pyramid_mustache","owner":{"login":"LexMachinaInc","id":1168494,"avatar_url":"https://avatars.githubusercontent.com/u/1168494?v=3","gravatar_id":"","url":"https://api.github.com/users/LexMachinaInc","html_url":"https://github.com/LexMachinaInc","followers_url":"https://api.github.com/users/LexMachinaInc/followers","following_url":"https://api.github.com/users/LexMachinaInc/following{/other_user}","gists_url":"https://api.github.com/users/LexMachinaInc/gists{/gist_id}","starred_url":"https://api.github.com/users/LexMachinaInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexMachinaInc/subscriptions","organizations_url":"https://api.github.com/users/LexMachinaInc/orgs","repos_url":"https://api.github.com/users/LexMachinaInc/repos","events_url":"https://api.github.com/users/LexMachinaInc/events{/privacy}","received_events_url":"https://api.github.com/users/LexMachinaInc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LexMachinaInc/pyramid_mustache","description":"Extensions for pyramid to use mustache as the rendering engine","fork":true,"url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache","forks_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/forks","keys_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/teams","hooks_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/hooks","issue_events_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/events{/number}","events_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/events","assignees_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/assignees{/user}","branches_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/branches{/branch}","tags_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/tags","blobs_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/refs{/sha}","trees_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/statuses/{sha}","languages_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/languages","stargazers_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/stargazers","contributors_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/contributors","subscribers_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/subscribers","subscription_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/subscription","commits_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/commits{/sha}","git_commits_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/git/commits{/sha}","comments_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/comments{/number}","issue_comment_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/comments{/number}","contents_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/contents/{+path}","compare_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/merges","archive_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/downloads","issues_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues{/number}","pulls_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls{/number}","milestones_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/milestones{/number}","notifications_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/labels{/name}","releases_url":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/releases{/id}","created_at":"2012-09-14T18:22:29Z","updated_at":"2014-07-28T18:59:41Z","pushed_at":"2015-04-21T19:38:59Z","git_url":"git://github.com/LexMachinaInc/pyramid_mustache.git","ssh_url":"git@github.com:LexMachinaInc/pyramid_mustache.git","clone_url":"https://github.com/LexMachinaInc/pyramid_mustache.git","svn_url":"https://github.com/LexMachinaInc/pyramid_mustache","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1"},"html":{"href":"https://github.com/LexMachinaInc/pyramid_mustache/pull/1"},"issue":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/1"},"comments":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/LexMachinaInc/pyramid_mustache/statuses/011f293e51e308a81aea73ffec44fe7f7fa73e47"}}}}