{"action":"created","comment":{"url":"https://api.github.com/repos/dkotegov/seismograph/pulls/comments/62049796","id":62049796,"diff_hunk":"@@ -0,0 +1,89 @@\n+import unittest\n+from seismograph.ext.selenium.forms.fields import SimpleFieldInterface, selector, FormField, RadioButton, \\\n+    fill_field_handler\n+import mock\n+\n+\n+class TestFields(unittest.TestCase):\n+    def test_selector(self):\n+        self.assertEqual(selector(k=2), {'k': 2})\n+        self.assertEqual(selector(k=2, b=3), {'k': 2, 'b': 3})\n+\n+\n+class TestSimpleFieldInterface(unittest.TestCase):\n+    def test_weight(self):\n+        obj = SimpleFieldInterface()\n+        with self.assertRaises(NotImplementedError):\n+            obj.weight","path":"tests/test_fields.py","position":21,"original_position":17,"commit_id":"58427b3febaf48c29b0fa44b1bdfd6b99bf30038","original_commit_id":"05bc7c8d1bcd1e87e34f002a183d4179b26f151e","user":{"login":"dkotegov","id":11413412,"avatar_url":"https://avatars.githubusercontent.com/u/11413412?v=3","gravatar_id":"","url":"https://api.github.com/users/dkotegov","html_url":"https://github.com/dkotegov","followers_url":"https://api.github.com/users/dkotegov/followers","following_url":"https://api.github.com/users/dkotegov/following{/other_user}","gists_url":"https://api.github.com/users/dkotegov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkotegov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkotegov/subscriptions","organizations_url":"https://api.github.com/users/dkotegov/orgs","repos_url":"https://api.github.com/users/dkotegov/repos","events_url":"https://api.github.com/users/dkotegov/events{/privacy}","received_events_url":"https://api.github.com/users/dkotegov/received_events","type":"User","site_admin":false},"body":"Открытый вопрос","created_at":"2016-05-04T14:36:22Z","updated_at":"2016-05-04T14:36:23Z","html_url":"https://github.com/dkotegov/seismograph/pull/7#discussion_r62049796","pull_request_url":"https://api.github.com/repos/dkotegov/seismograph/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/dkotegov/seismograph/pulls/comments/62049796"},"html":{"href":"https://github.com/dkotegov/seismograph/pull/7#discussion_r62049796"},"pull_request":{"href":"https://api.github.com/repos/dkotegov/seismograph/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/dkotegov/seismograph/pulls/7","id":66060124,"html_url":"https://github.com/dkotegov/seismograph/pull/7","diff_url":"https://github.com/dkotegov/seismograph/pull/7.diff","patch_url":"https://github.com/dkotegov/seismograph/pull/7.patch","issue_url":"https://api.github.com/repos/dkotegov/seismograph/issues/7","number":7,"state":"open","locked":false,"title":"53 48 100","user":{"login":"pulysak","id":11618963,"avatar_url":"https://avatars.githubusercontent.com/u/11618963?v=3","gravatar_id":"","url":"https://api.github.com/users/pulysak","html_url":"https://github.com/pulysak","followers_url":"https://api.github.com/users/pulysak/followers","following_url":"https://api.github.com/users/pulysak/following{/other_user}","gists_url":"https://api.github.com/users/pulysak/gists{/gist_id}","starred_url":"https://api.github.com/users/pulysak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulysak/subscriptions","organizations_url":"https://api.github.com/users/pulysak/orgs","repos_url":"https://api.github.com/users/pulysak/repos","events_url":"https://api.github.com/users/pulysak/events{/privacy}","received_events_url":"https://api.github.com/users/pulysak/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-11T20:50:39Z","updated_at":"2016-05-04T14:36:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc0fba7baa170d84f409fcda69cc5a3fce13c1e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dkotegov/seismograph/pulls/7/commits","review_comments_url":"https://api.github.com/repos/dkotegov/seismograph/pulls/7/comments","review_comment_url":"https://api.github.com/repos/dkotegov/seismograph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dkotegov/seismograph/issues/7/comments","statuses_url":"https://api.github.com/repos/dkotegov/seismograph/statuses/58427b3febaf48c29b0fa44b1bdfd6b99bf30038","head":{"label":"pulysak:master","ref":"master","sha":"58427b3febaf48c29b0fa44b1bdfd6b99bf30038","user":{"login":"pulysak","id":11618963,"avatar_url":"https://avatars.githubusercontent.com/u/11618963?v=3","gravatar_id":"","url":"https://api.github.com/users/pulysak","html_url":"https://github.com/pulysak","followers_url":"https://api.github.com/users/pulysak/followers","following_url":"https://api.github.com/users/pulysak/following{/other_user}","gists_url":"https://api.github.com/users/pulysak/gists{/gist_id}","starred_url":"https://api.github.com/users/pulysak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulysak/subscriptions","organizations_url":"https://api.github.com/users/pulysak/orgs","repos_url":"https://api.github.com/users/pulysak/repos","events_url":"https://api.github.com/users/pulysak/events{/privacy}","received_events_url":"https://api.github.com/users/pulysak/received_events","type":"User","site_admin":false},"repo":{"id":55637399,"name":"seismograph","full_name":"pulysak/seismograph","owner":{"login":"pulysak","id":11618963,"avatar_url":"https://avatars.githubusercontent.com/u/11618963?v=3","gravatar_id":"","url":"https://api.github.com/users/pulysak","html_url":"https://github.com/pulysak","followers_url":"https://api.github.com/users/pulysak/followers","following_url":"https://api.github.com/users/pulysak/following{/other_user}","gists_url":"https://api.github.com/users/pulysak/gists{/gist_id}","starred_url":"https://api.github.com/users/pulysak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulysak/subscriptions","organizations_url":"https://api.github.com/users/pulysak/orgs","repos_url":"https://api.github.com/users/pulysak/repos","events_url":"https://api.github.com/users/pulysak/events{/privacy}","received_events_url":"https://api.github.com/users/pulysak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pulysak/seismograph","description":"framework for test development","fork":true,"url":"https://api.github.com/repos/pulysak/seismograph","forks_url":"https://api.github.com/repos/pulysak/seismograph/forks","keys_url":"https://api.github.com/repos/pulysak/seismograph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulysak/seismograph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulysak/seismograph/teams","hooks_url":"https://api.github.com/repos/pulysak/seismograph/hooks","issue_events_url":"https://api.github.com/repos/pulysak/seismograph/issues/events{/number}","events_url":"https://api.github.com/repos/pulysak/seismograph/events","assignees_url":"https://api.github.com/repos/pulysak/seismograph/assignees{/user}","branches_url":"https://api.github.com/repos/pulysak/seismograph/branches{/branch}","tags_url":"https://api.github.com/repos/pulysak/seismograph/tags","blobs_url":"https://api.github.com/repos/pulysak/seismograph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulysak/seismograph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulysak/seismograph/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulysak/seismograph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulysak/seismograph/statuses/{sha}","languages_url":"https://api.github.com/repos/pulysak/seismograph/languages","stargazers_url":"https://api.github.com/repos/pulysak/seismograph/stargazers","contributors_url":"https://api.github.com/repos/pulysak/seismograph/contributors","subscribers_url":"https://api.github.com/repos/pulysak/seismograph/subscribers","subscription_url":"https://api.github.com/repos/pulysak/seismograph/subscription","commits_url":"https://api.github.com/repos/pulysak/seismograph/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulysak/seismograph/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulysak/seismograph/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulysak/seismograph/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulysak/seismograph/contents/{+path}","compare_url":"https://api.github.com/repos/pulysak/seismograph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulysak/seismograph/merges","archive_url":"https://api.github.com/repos/pulysak/seismograph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulysak/seismograph/downloads","issues_url":"https://api.github.com/repos/pulysak/seismograph/issues{/number}","pulls_url":"https://api.github.com/repos/pulysak/seismograph/pulls{/number}","milestones_url":"https://api.github.com/repos/pulysak/seismograph/milestones{/number}","notifications_url":"https://api.github.com/repos/pulysak/seismograph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulysak/seismograph/labels{/name}","releases_url":"https://api.github.com/repos/pulysak/seismograph/releases{/id}","deployments_url":"https://api.github.com/repos/pulysak/seismograph/deployments","created_at":"2016-04-06T20:13:53Z","updated_at":"2016-04-06T20:13:53Z","pushed_at":"2016-05-04T09:45:02Z","git_url":"git://github.com/pulysak/seismograph.git","ssh_url":"git@github.com:pulysak/seismograph.git","clone_url":"https://github.com/pulysak/seismograph.git","svn_url":"https://github.com/pulysak/seismograph","homepage":null,"size":253,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dkotegov:master","ref":"master","sha":"059edf42a5f23c55302c2f4f1ac1d07ab265321e","user":{"login":"dkotegov","id":11413412,"avatar_url":"https://avatars.githubusercontent.com/u/11413412?v=3","gravatar_id":"","url":"https://api.github.com/users/dkotegov","html_url":"https://github.com/dkotegov","followers_url":"https://api.github.com/users/dkotegov/followers","following_url":"https://api.github.com/users/dkotegov/following{/other_user}","gists_url":"https://api.github.com/users/dkotegov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkotegov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkotegov/subscriptions","organizations_url":"https://api.github.com/users/dkotegov/orgs","repos_url":"https://api.github.com/users/dkotegov/repos","events_url":"https://api.github.com/users/dkotegov/events{/privacy}","received_events_url":"https://api.github.com/users/dkotegov/received_events","type":"User","site_admin":false},"repo":{"id":54823682,"name":"seismograph","full_name":"dkotegov/seismograph","owner":{"login":"dkotegov","id":11413412,"avatar_url":"https://avatars.githubusercontent.com/u/11413412?v=3","gravatar_id":"","url":"https://api.github.com/users/dkotegov","html_url":"https://github.com/dkotegov","followers_url":"https://api.github.com/users/dkotegov/followers","following_url":"https://api.github.com/users/dkotegov/following{/other_user}","gists_url":"https://api.github.com/users/dkotegov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkotegov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkotegov/subscriptions","organizations_url":"https://api.github.com/users/dkotegov/orgs","repos_url":"https://api.github.com/users/dkotegov/repos","events_url":"https://api.github.com/users/dkotegov/events{/privacy}","received_events_url":"https://api.github.com/users/dkotegov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkotegov/seismograph","description":"framework for test development","fork":true,"url":"https://api.github.com/repos/dkotegov/seismograph","forks_url":"https://api.github.com/repos/dkotegov/seismograph/forks","keys_url":"https://api.github.com/repos/dkotegov/seismograph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkotegov/seismograph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkotegov/seismograph/teams","hooks_url":"https://api.github.com/repos/dkotegov/seismograph/hooks","issue_events_url":"https://api.github.com/repos/dkotegov/seismograph/issues/events{/number}","events_url":"https://api.github.com/repos/dkotegov/seismograph/events","assignees_url":"https://api.github.com/repos/dkotegov/seismograph/assignees{/user}","branches_url":"https://api.github.com/repos/dkotegov/seismograph/branches{/branch}","tags_url":"https://api.github.com/repos/dkotegov/seismograph/tags","blobs_url":"https://api.github.com/repos/dkotegov/seismograph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkotegov/seismograph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkotegov/seismograph/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkotegov/seismograph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkotegov/seismograph/statuses/{sha}","languages_url":"https://api.github.com/repos/dkotegov/seismograph/languages","stargazers_url":"https://api.github.com/repos/dkotegov/seismograph/stargazers","contributors_url":"https://api.github.com/repos/dkotegov/seismograph/contributors","subscribers_url":"https://api.github.com/repos/dkotegov/seismograph/subscribers","subscription_url":"https://api.github.com/repos/dkotegov/seismograph/subscription","commits_url":"https://api.github.com/repos/dkotegov/seismograph/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkotegov/seismograph/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkotegov/seismograph/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkotegov/seismograph/issues/comments{/number}","contents_url":"https://api.github.com/repos/dkotegov/seismograph/contents/{+path}","compare_url":"https://api.github.com/repos/dkotegov/seismograph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkotegov/seismograph/merges","archive_url":"https://api.github.com/repos/dkotegov/seismograph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkotegov/seismograph/downloads","issues_url":"https://api.github.com/repos/dkotegov/seismograph/issues{/number}","pulls_url":"https://api.github.com/repos/dkotegov/seismograph/pulls{/number}","milestones_url":"https://api.github.com/repos/dkotegov/seismograph/milestones{/number}","notifications_url":"https://api.github.com/repos/dkotegov/seismograph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkotegov/seismograph/labels{/name}","releases_url":"https://api.github.com/repos/dkotegov/seismograph/releases{/id}","deployments_url":"https://api.github.com/repos/dkotegov/seismograph/deployments","created_at":"2016-03-27T10:39:20Z","updated_at":"2016-03-27T10:39:21Z","pushed_at":"2016-05-04T09:45:02Z","git_url":"git://github.com/dkotegov/seismograph.git","ssh_url":"git@github.com:dkotegov/seismograph.git","clone_url":"https://github.com/dkotegov/seismograph.git","svn_url":"https://github.com/dkotegov/seismograph","homepage":null,"size":237,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dkotegov/seismograph/pulls/7"},"html":{"href":"https://github.com/dkotegov/seismograph/pull/7"},"issue":{"href":"https://api.github.com/repos/dkotegov/seismograph/issues/7"},"comments":{"href":"https://api.github.com/repos/dkotegov/seismograph/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/dkotegov/seismograph/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/dkotegov/seismograph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dkotegov/seismograph/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/dkotegov/seismograph/statuses/58427b3febaf48c29b0fa44b1bdfd6b99bf30038"}}}}