{"action":"created","comment":{"url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/comments/61269324","id":61269324,"diff_hunk":"@@ -0,0 +1,103 @@\n+import unittest\n+from unittest import TestCase\n+\n+from selenium import webdriver\n+\n+from auth_page import Page\n+\n+\n+class TestGmailAuth(TestCase):\n+    def setUp(self):\n+        self.driver = webdriver.Firefox()\n+        self.driver.implicitly_wait(5)\n+        Page(self.driver).open(\"https://mail.google.com/\")\n+\n+    def test_email_captcha(self):\n+        \"\"\"\n+        Название : Проверка появления поля капчи при вводе e-mail\n+\n+        Шаги :\n+        1.Вводим неверные e-mail и подтверждаем ввод пока не появиться поле капчи\n+\n+        Тест пройден:\n+        Появляется поле ввода капчи\n+\n+        \"\"\"\n+        page = Page(self.driver)\n+        page.email_form.throw_captcha()\n+\n+    def test_not_register_email(self):\n+        \"\"\"\n+            Название : Проверка появления сообщения: Не удалось распознать адрес электронной почты.\n+\n+            Шаги :\n+            1.Вводим не существующий e-mail\n+            2.Подтверждаем ввод\n+\n+            Тест пройден:\n+            Появляется сообщение : Не удалось распознать адрес электронной почты.\n+\n+            \"\"\"\n+\n+        page = Page(self.driver)\n+        page.email_form.enter_email(\"qewdasafdwqas341r\")\n+        self.assertEqual(page.email_form.get_error(), \"Не удалось распознать адрес электронной почты.\")","path":"main.py","position":44,"original_position":44,"commit_id":"66de0d5d84c0c4d1e5ec1c487199ee0af6eef5a3","original_commit_id":"66de0d5d84c0c4d1e5ec1c487199ee0af6eef5a3","user":{"login":"skyline-gleb","id":4970194,"avatar_url":"https://avatars.githubusercontent.com/u/4970194?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline-gleb","html_url":"https://github.com/skyline-gleb","followers_url":"https://api.github.com/users/skyline-gleb/followers","following_url":"https://api.github.com/users/skyline-gleb/following{/other_user}","gists_url":"https://api.github.com/users/skyline-gleb/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline-gleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline-gleb/subscriptions","organizations_url":"https://api.github.com/users/skyline-gleb/orgs","repos_url":"https://api.github.com/users/skyline-gleb/repos","events_url":"https://api.github.com/users/skyline-gleb/events{/privacy}","received_events_url":"https://api.github.com/users/skyline-gleb/received_events","type":"User","site_admin":false},"body":"в ассерты лучше не пихать логику, а уже только значения","created_at":"2016-04-27T14:40:36Z","updated_at":"2016-04-27T14:40:36Z","html_url":"https://github.com/2gisprojectT/lesson_11_homework/pull/10#discussion_r61269324","pull_request_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/comments/61269324"},"html":{"href":"https://github.com/2gisprojectT/lesson_11_homework/pull/10#discussion_r61269324"},"pull_request":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10","id":68058316,"html_url":"https://github.com/2gisprojectT/lesson_11_homework/pull/10","diff_url":"https://github.com/2gisprojectT/lesson_11_homework/pull/10.diff","patch_url":"https://github.com/2gisprojectT/lesson_11_homework/pull/10.patch","issue_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues/10","number":10,"state":"open","locked":false,"title":"Сделал Дз №11","user":{"login":"DoctorVra4","id":15700926,"avatar_url":"https://avatars.githubusercontent.com/u/15700926?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctorVra4","html_url":"https://github.com/DoctorVra4","followers_url":"https://api.github.com/users/DoctorVra4/followers","following_url":"https://api.github.com/users/DoctorVra4/following{/other_user}","gists_url":"https://api.github.com/users/DoctorVra4/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorVra4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorVra4/subscriptions","organizations_url":"https://api.github.com/users/DoctorVra4/orgs","repos_url":"https://api.github.com/users/DoctorVra4/repos","events_url":"https://api.github.com/users/DoctorVra4/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorVra4/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-27T14:01:36Z","updated_at":"2016-04-27T14:40:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b441887464e7d6583e92e9c7c88551adea30558e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10/commits","review_comments_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10/comments","review_comment_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues/10/comments","statuses_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/statuses/66de0d5d84c0c4d1e5ec1c487199ee0af6eef5a3","head":{"label":"DoctorVra4:Develop11","ref":"Develop11","sha":"66de0d5d84c0c4d1e5ec1c487199ee0af6eef5a3","user":{"login":"DoctorVra4","id":15700926,"avatar_url":"https://avatars.githubusercontent.com/u/15700926?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctorVra4","html_url":"https://github.com/DoctorVra4","followers_url":"https://api.github.com/users/DoctorVra4/followers","following_url":"https://api.github.com/users/DoctorVra4/following{/other_user}","gists_url":"https://api.github.com/users/DoctorVra4/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorVra4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorVra4/subscriptions","organizations_url":"https://api.github.com/users/DoctorVra4/orgs","repos_url":"https://api.github.com/users/DoctorVra4/repos","events_url":"https://api.github.com/users/DoctorVra4/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorVra4/received_events","type":"User","site_admin":false},"repo":{"id":56682753,"name":"lesson_11_homework","full_name":"DoctorVra4/lesson_11_homework","owner":{"login":"DoctorVra4","id":15700926,"avatar_url":"https://avatars.githubusercontent.com/u/15700926?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctorVra4","html_url":"https://github.com/DoctorVra4","followers_url":"https://api.github.com/users/DoctorVra4/followers","following_url":"https://api.github.com/users/DoctorVra4/following{/other_user}","gists_url":"https://api.github.com/users/DoctorVra4/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorVra4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorVra4/subscriptions","organizations_url":"https://api.github.com/users/DoctorVra4/orgs","repos_url":"https://api.github.com/users/DoctorVra4/repos","events_url":"https://api.github.com/users/DoctorVra4/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorVra4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DoctorVra4/lesson_11_homework","description":"","fork":true,"url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework","forks_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/forks","keys_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/teams","hooks_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/hooks","issue_events_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/issues/events{/number}","events_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/events","assignees_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/assignees{/user}","branches_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/branches{/branch}","tags_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/tags","blobs_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/statuses/{sha}","languages_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/languages","stargazers_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/stargazers","contributors_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/contributors","subscribers_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/subscribers","subscription_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/subscription","commits_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/contents/{+path}","compare_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/merges","archive_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/downloads","issues_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/issues{/number}","pulls_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/pulls{/number}","milestones_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/milestones{/number}","notifications_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/labels{/name}","releases_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/releases{/id}","deployments_url":"https://api.github.com/repos/DoctorVra4/lesson_11_homework/deployments","created_at":"2016-04-20T11:53:20Z","updated_at":"2016-04-19T16:19:14Z","pushed_at":"2016-04-27T14:28:38Z","git_url":"git://github.com/DoctorVra4/lesson_11_homework.git","ssh_url":"git@github.com:DoctorVra4/lesson_11_homework.git","clone_url":"https://github.com/DoctorVra4/lesson_11_homework.git","svn_url":"https://github.com/DoctorVra4/lesson_11_homework","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":null,"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":"2gisprojectT:master","ref":"master","sha":"88bfeb91e526f9ed62ea349702710c3568cdb9d1","user":{"login":"2gisprojectT","id":9006753,"avatar_url":"https://avatars.githubusercontent.com/u/9006753?v=3","gravatar_id":"","url":"https://api.github.com/users/2gisprojectT","html_url":"https://github.com/2gisprojectT","followers_url":"https://api.github.com/users/2gisprojectT/followers","following_url":"https://api.github.com/users/2gisprojectT/following{/other_user}","gists_url":"https://api.github.com/users/2gisprojectT/gists{/gist_id}","starred_url":"https://api.github.com/users/2gisprojectT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gisprojectT/subscriptions","organizations_url":"https://api.github.com/users/2gisprojectT/orgs","repos_url":"https://api.github.com/users/2gisprojectT/repos","events_url":"https://api.github.com/users/2gisprojectT/events{/privacy}","received_events_url":"https://api.github.com/users/2gisprojectT/received_events","type":"Organization","site_admin":false},"repo":{"id":56612902,"name":"lesson_11_homework","full_name":"2gisprojectT/lesson_11_homework","owner":{"login":"2gisprojectT","id":9006753,"avatar_url":"https://avatars.githubusercontent.com/u/9006753?v=3","gravatar_id":"","url":"https://api.github.com/users/2gisprojectT","html_url":"https://github.com/2gisprojectT","followers_url":"https://api.github.com/users/2gisprojectT/followers","following_url":"https://api.github.com/users/2gisprojectT/following{/other_user}","gists_url":"https://api.github.com/users/2gisprojectT/gists{/gist_id}","starred_url":"https://api.github.com/users/2gisprojectT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gisprojectT/subscriptions","organizations_url":"https://api.github.com/users/2gisprojectT/orgs","repos_url":"https://api.github.com/users/2gisprojectT/repos","events_url":"https://api.github.com/users/2gisprojectT/events{/privacy}","received_events_url":"https://api.github.com/users/2gisprojectT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gisprojectT/lesson_11_homework","description":"","fork":false,"url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework","forks_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/forks","keys_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/teams","hooks_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/hooks","issue_events_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues/events{/number}","events_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/events","assignees_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/assignees{/user}","branches_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/branches{/branch}","tags_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/tags","blobs_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/statuses/{sha}","languages_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/languages","stargazers_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/stargazers","contributors_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/contributors","subscribers_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/subscribers","subscription_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/subscription","commits_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/contents/{+path}","compare_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/merges","archive_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/downloads","issues_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues{/number}","pulls_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls{/number}","milestones_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/milestones{/number}","notifications_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/labels{/name}","releases_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/releases{/id}","deployments_url":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/deployments","created_at":"2016-04-19T16:19:14Z","updated_at":"2016-04-19T16:19:14Z","pushed_at":"2016-04-27T14:29:25Z","git_url":"git://github.com/2gisprojectT/lesson_11_homework.git","ssh_url":"git@github.com:2gisprojectT/lesson_11_homework.git","clone_url":"https://github.com/2gisprojectT/lesson_11_homework.git","svn_url":"https://github.com/2gisprojectT/lesson_11_homework","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10"},"html":{"href":"https://github.com/2gisprojectT/lesson_11_homework/pull/10"},"issue":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues/10"},"comments":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/2gisprojectT/lesson_11_homework/statuses/66de0d5d84c0c4d1e5ec1c487199ee0af6eef5a3"}}}}