{"action":"created","comment":{"url":"https://api.github.com/repos/openprocurement/robot_tests/pulls/comments/54330808","id":54330808,"diff_hunk":"@@ -480,6 +504,148 @@ def test_complaint_data():\n     })\n \n \n+def test_claim_data():\n+    return munchify({\n+        \"data\": {\n+            \"author\": {\n+                \"address\": {\n+                    \"countryName\": u\"Україна\",\n+                    \"countryName_ru\": u\"Украина\",\n+                    \"countryName_en\": \"Ukraine\",\n+                    \"locality\": u\"м. Вінниця\",\n+                    \"postalCode\": \"21100\",\n+                    \"region\": u\"Вінницька область\",\n+                    \"streetAddress\": fake.street_address()\n+                },\n+                \"contactPoint\": {\n+                    \"name\": fake.name(),\n+                    \"telephone\": fake.phone_number()\n+                },\n+                \"identifier\": {\n+                    \"scheme\": u\"UA-EDR\",\n+                    \"id\": u\"{:08d}\".format(fake.pyint()),\n+                    \"uri\": fake.image_url(width=None, height=None)\n+                },\n+                \"name\": fake.company()\n+            },\n+            \"description\": fake.sentence(nb_words=10, variable_nb_words=True),\n+            \"title\": fake.sentence(nb_words=6, variable_nb_words=True)\n+        }\n+    })\n+\n+\n+def test_complaint_answer_data(complaint_id):\n+    return {\n+        \"data\": {\n+            \"id\": complaint_id,\n+            \"status\": \"answered\",\n+            \"resolutionType\": \"resolved\",\n+            \"resolution\": fake.sentence(nb_words=40, variable_nb_words=True)\n+        }\n+    }\n+\n+\n+def test_claim_answer_satisfying_data(claim_id):\n+    return {\n+        \"data\": {\n+            \"id\": claim_id,\n+            \"status\": \"resolved\",\n+            \"satisfied\": True\n+        }\n+    }\n+\n+\n+def test_claim_answer_data(claim_id):\n+    return {\n+        \"data\": {\n+            \"status\": \"answered\",\n+            \"resolutionType\": \"resolved\",\n+            \"tendererAction\": fake.sentence(nb_words=10, variable_nb_words=True),\n+            \"resolution\": fake.sentence(nb_words=15, variable_nb_words=True),\n+            \"id\": claim_id\n+        }\n+    }\n+\n+def test_escalate_claim_data(claim_id):\n+    return {\n+        \"data\": {\n+            \"status\": \"pending\",\n+            \"satisfied\": False,\n+            \"id\": claim_id\n+        }\n+    }\n+\n+\n+def test_cancel_tender_data(cancellation_reason):\n+    return {\n+        'data': {\n+            'reason': cancellation_reason\n+        }\n+    }\n+\n+\n+def test_cancel_claim_data(claim_id, cancellation_reason):\n+    return {\n+        'data': {\n+            'cancellationReason': cancellation_reason,\n+            'status': 'cancelled',\n+            'id': claim_id\n+        }\n+    }\n+\n+\n+def test_change_cancellation_document_field_data(key, value):","path":"op_robot_tests/tests_files/initial_data.py","position":169,"original_position":169,"commit_id":"f62e4a1b13793b66ca6815a0391a57cb51310a45","original_commit_id":"f62e4a1b13793b66ca6815a0391a57cb51310a45","user":{"login":"Leits","id":12017826,"avatar_url":"https://avatars.githubusercontent.com/u/12017826?v=3","gravatar_id":"","url":"https://api.github.com/users/Leits","html_url":"https://github.com/Leits","followers_url":"https://api.github.com/users/Leits/followers","following_url":"https://api.github.com/users/Leits/following{/other_user}","gists_url":"https://api.github.com/users/Leits/gists{/gist_id}","starred_url":"https://api.github.com/users/Leits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leits/subscriptions","organizations_url":"https://api.github.com/users/Leits/orgs","repos_url":"https://api.github.com/users/Leits/repos","events_url":"https://api.github.com/users/Leits/events{/privacy}","received_events_url":"https://api.github.com/users/Leits/received_events","type":"User","site_admin":false},"body":"Якщо більше не змінюєш даних, одразу return.І використовуй munchify.\r\nІ взагалі можеш викинути це і скористатися create_data_dict у самому ключовому слові.","created_at":"2016-02-27T08:56:30Z","updated_at":"2016-02-27T08:56:30Z","html_url":"https://github.com/openprocurement/robot_tests/pull/58#discussion_r54330808","pull_request_url":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/openprocurement/robot_tests/pulls/comments/54330808"},"html":{"href":"https://github.com/openprocurement/robot_tests/pull/58#discussion_r54330808"},"pull_request":{"href":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58","id":60546807,"html_url":"https://github.com/openprocurement/robot_tests/pull/58","diff_url":"https://github.com/openprocurement/robot_tests/pull/58.diff","patch_url":"https://github.com/openprocurement/robot_tests/pull/58.patch","issue_url":"https://api.github.com/repos/openprocurement/robot_tests/issues/58","number":58,"state":"open","locked":false,"title":"Work with single item tender complaints","user":{"login":"mykhaly","id":13147752,"avatar_url":"https://avatars.githubusercontent.com/u/13147752?v=3","gravatar_id":"","url":"https://api.github.com/users/mykhaly","html_url":"https://github.com/mykhaly","followers_url":"https://api.github.com/users/mykhaly/followers","following_url":"https://api.github.com/users/mykhaly/following{/other_user}","gists_url":"https://api.github.com/users/mykhaly/gists{/gist_id}","starred_url":"https://api.github.com/users/mykhaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykhaly/subscriptions","organizations_url":"https://api.github.com/users/mykhaly/orgs","repos_url":"https://api.github.com/users/mykhaly/repos","events_url":"https://api.github.com/users/mykhaly/events{/privacy}","received_events_url":"https://api.github.com/users/mykhaly/received_events","type":"User","site_admin":false},"body":"And few changes to limited procurement\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/openprocurement/robot_tests/58)\n<!-- Reviewable:end -->\n","created_at":"2016-02-24T17:30:57Z","updated_at":"2016-02-27T08:56:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"selurvedu","id":11262062,"avatar_url":"https://avatars.githubusercontent.com/u/11262062?v=3","gravatar_id":"","url":"https://api.github.com/users/selurvedu","html_url":"https://github.com/selurvedu","followers_url":"https://api.github.com/users/selurvedu/followers","following_url":"https://api.github.com/users/selurvedu/following{/other_user}","gists_url":"https://api.github.com/users/selurvedu/gists{/gist_id}","starred_url":"https://api.github.com/users/selurvedu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selurvedu/subscriptions","organizations_url":"https://api.github.com/users/selurvedu/orgs","repos_url":"https://api.github.com/users/selurvedu/repos","events_url":"https://api.github.com/users/selurvedu/events{/privacy}","received_events_url":"https://api.github.com/users/selurvedu/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58/commits","review_comments_url":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58/comments","review_comment_url":"https://api.github.com/repos/openprocurement/robot_tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openprocurement/robot_tests/issues/58/comments","statuses_url":"https://api.github.com/repos/openprocurement/robot_tests/statuses/f62e4a1b13793b66ca6815a0391a57cb51310a45","head":{"label":"mykhaly:work_singleItemTenderComplaints","ref":"work_singleItemTenderComplaints","sha":"f62e4a1b13793b66ca6815a0391a57cb51310a45","user":{"login":"mykhaly","id":13147752,"avatar_url":"https://avatars.githubusercontent.com/u/13147752?v=3","gravatar_id":"","url":"https://api.github.com/users/mykhaly","html_url":"https://github.com/mykhaly","followers_url":"https://api.github.com/users/mykhaly/followers","following_url":"https://api.github.com/users/mykhaly/following{/other_user}","gists_url":"https://api.github.com/users/mykhaly/gists{/gist_id}","starred_url":"https://api.github.com/users/mykhaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykhaly/subscriptions","organizations_url":"https://api.github.com/users/mykhaly/orgs","repos_url":"https://api.github.com/users/mykhaly/repos","events_url":"https://api.github.com/users/mykhaly/events{/privacy}","received_events_url":"https://api.github.com/users/mykhaly/received_events","type":"User","site_admin":false},"repo":{"id":51077370,"name":"robot_tests","full_name":"mykhaly/robot_tests","owner":{"login":"mykhaly","id":13147752,"avatar_url":"https://avatars.githubusercontent.com/u/13147752?v=3","gravatar_id":"","url":"https://api.github.com/users/mykhaly","html_url":"https://github.com/mykhaly","followers_url":"https://api.github.com/users/mykhaly/followers","following_url":"https://api.github.com/users/mykhaly/following{/other_user}","gists_url":"https://api.github.com/users/mykhaly/gists{/gist_id}","starred_url":"https://api.github.com/users/mykhaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykhaly/subscriptions","organizations_url":"https://api.github.com/users/mykhaly/orgs","repos_url":"https://api.github.com/users/mykhaly/repos","events_url":"https://api.github.com/users/mykhaly/events{/privacy}","received_events_url":"https://api.github.com/users/mykhaly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mykhaly/robot_tests","description":"","fork":true,"url":"https://api.github.com/repos/mykhaly/robot_tests","forks_url":"https://api.github.com/repos/mykhaly/robot_tests/forks","keys_url":"https://api.github.com/repos/mykhaly/robot_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mykhaly/robot_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mykhaly/robot_tests/teams","hooks_url":"https://api.github.com/repos/mykhaly/robot_tests/hooks","issue_events_url":"https://api.github.com/repos/mykhaly/robot_tests/issues/events{/number}","events_url":"https://api.github.com/repos/mykhaly/robot_tests/events","assignees_url":"https://api.github.com/repos/mykhaly/robot_tests/assignees{/user}","branches_url":"https://api.github.com/repos/mykhaly/robot_tests/branches{/branch}","tags_url":"https://api.github.com/repos/mykhaly/robot_tests/tags","blobs_url":"https://api.github.com/repos/mykhaly/robot_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mykhaly/robot_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mykhaly/robot_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/mykhaly/robot_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mykhaly/robot_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/mykhaly/robot_tests/languages","stargazers_url":"https://api.github.com/repos/mykhaly/robot_tests/stargazers","contributors_url":"https://api.github.com/repos/mykhaly/robot_tests/contributors","subscribers_url":"https://api.github.com/repos/mykhaly/robot_tests/subscribers","subscription_url":"https://api.github.com/repos/mykhaly/robot_tests/subscription","commits_url":"https://api.github.com/repos/mykhaly/robot_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/mykhaly/robot_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/mykhaly/robot_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/mykhaly/robot_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/mykhaly/robot_tests/contents/{+path}","compare_url":"https://api.github.com/repos/mykhaly/robot_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mykhaly/robot_tests/merges","archive_url":"https://api.github.com/repos/mykhaly/robot_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mykhaly/robot_tests/downloads","issues_url":"https://api.github.com/repos/mykhaly/robot_tests/issues{/number}","pulls_url":"https://api.github.com/repos/mykhaly/robot_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/mykhaly/robot_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/mykhaly/robot_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mykhaly/robot_tests/labels{/name}","releases_url":"https://api.github.com/repos/mykhaly/robot_tests/releases{/id}","deployments_url":"https://api.github.com/repos/mykhaly/robot_tests/deployments","created_at":"2016-02-04T13:22:25Z","updated_at":"2016-02-04T13:22:26Z","pushed_at":"2016-02-26T14:45:23Z","git_url":"git://github.com/mykhaly/robot_tests.git","ssh_url":"git@github.com:mykhaly/robot_tests.git","clone_url":"https://github.com/mykhaly/robot_tests.git","svn_url":"https://github.com/mykhaly/robot_tests","homepage":"https://groups.google.com/group/open-procurement-testing","size":675,"stargazers_count":0,"watchers_count":0,"language":"RobotFramework","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":"openprocurement:master","ref":"master","sha":"667766852daae59e29c364add1907bf355e4a039","user":{"login":"openprocurement","id":8692431,"avatar_url":"https://avatars.githubusercontent.com/u/8692431?v=3","gravatar_id":"","url":"https://api.github.com/users/openprocurement","html_url":"https://github.com/openprocurement","followers_url":"https://api.github.com/users/openprocurement/followers","following_url":"https://api.github.com/users/openprocurement/following{/other_user}","gists_url":"https://api.github.com/users/openprocurement/gists{/gist_id}","starred_url":"https://api.github.com/users/openprocurement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openprocurement/subscriptions","organizations_url":"https://api.github.com/users/openprocurement/orgs","repos_url":"https://api.github.com/users/openprocurement/repos","events_url":"https://api.github.com/users/openprocurement/events{/privacy}","received_events_url":"https://api.github.com/users/openprocurement/received_events","type":"Organization","site_admin":false},"repo":{"id":30757771,"name":"robot_tests","full_name":"openprocurement/robot_tests","owner":{"login":"openprocurement","id":8692431,"avatar_url":"https://avatars.githubusercontent.com/u/8692431?v=3","gravatar_id":"","url":"https://api.github.com/users/openprocurement","html_url":"https://github.com/openprocurement","followers_url":"https://api.github.com/users/openprocurement/followers","following_url":"https://api.github.com/users/openprocurement/following{/other_user}","gists_url":"https://api.github.com/users/openprocurement/gists{/gist_id}","starred_url":"https://api.github.com/users/openprocurement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openprocurement/subscriptions","organizations_url":"https://api.github.com/users/openprocurement/orgs","repos_url":"https://api.github.com/users/openprocurement/repos","events_url":"https://api.github.com/users/openprocurement/events{/privacy}","received_events_url":"https://api.github.com/users/openprocurement/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openprocurement/robot_tests","description":"","fork":false,"url":"https://api.github.com/repos/openprocurement/robot_tests","forks_url":"https://api.github.com/repos/openprocurement/robot_tests/forks","keys_url":"https://api.github.com/repos/openprocurement/robot_tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openprocurement/robot_tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openprocurement/robot_tests/teams","hooks_url":"https://api.github.com/repos/openprocurement/robot_tests/hooks","issue_events_url":"https://api.github.com/repos/openprocurement/robot_tests/issues/events{/number}","events_url":"https://api.github.com/repos/openprocurement/robot_tests/events","assignees_url":"https://api.github.com/repos/openprocurement/robot_tests/assignees{/user}","branches_url":"https://api.github.com/repos/openprocurement/robot_tests/branches{/branch}","tags_url":"https://api.github.com/repos/openprocurement/robot_tests/tags","blobs_url":"https://api.github.com/repos/openprocurement/robot_tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openprocurement/robot_tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openprocurement/robot_tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/openprocurement/robot_tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openprocurement/robot_tests/statuses/{sha}","languages_url":"https://api.github.com/repos/openprocurement/robot_tests/languages","stargazers_url":"https://api.github.com/repos/openprocurement/robot_tests/stargazers","contributors_url":"https://api.github.com/repos/openprocurement/robot_tests/contributors","subscribers_url":"https://api.github.com/repos/openprocurement/robot_tests/subscribers","subscription_url":"https://api.github.com/repos/openprocurement/robot_tests/subscription","commits_url":"https://api.github.com/repos/openprocurement/robot_tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/openprocurement/robot_tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/openprocurement/robot_tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/openprocurement/robot_tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/openprocurement/robot_tests/contents/{+path}","compare_url":"https://api.github.com/repos/openprocurement/robot_tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openprocurement/robot_tests/merges","archive_url":"https://api.github.com/repos/openprocurement/robot_tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openprocurement/robot_tests/downloads","issues_url":"https://api.github.com/repos/openprocurement/robot_tests/issues{/number}","pulls_url":"https://api.github.com/repos/openprocurement/robot_tests/pulls{/number}","milestones_url":"https://api.github.com/repos/openprocurement/robot_tests/milestones{/number}","notifications_url":"https://api.github.com/repos/openprocurement/robot_tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openprocurement/robot_tests/labels{/name}","releases_url":"https://api.github.com/repos/openprocurement/robot_tests/releases{/id}","deployments_url":"https://api.github.com/repos/openprocurement/robot_tests/deployments","created_at":"2015-02-13T13:38:03Z","updated_at":"2016-02-27T07:59:12Z","pushed_at":"2016-02-26T14:45:27Z","git_url":"git://github.com/openprocurement/robot_tests.git","ssh_url":"git@github.com:openprocurement/robot_tests.git","clone_url":"https://github.com/openprocurement/robot_tests.git","svn_url":"https://github.com/openprocurement/robot_tests","homepage":"https://groups.google.com/group/open-procurement-testing","size":878,"stargazers_count":5,"watchers_count":5,"language":"RobotFramework","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":14,"forks":17,"open_issues":14,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58"},"html":{"href":"https://github.com/openprocurement/robot_tests/pull/58"},"issue":{"href":"https://api.github.com/repos/openprocurement/robot_tests/issues/58"},"comments":{"href":"https://api.github.com/repos/openprocurement/robot_tests/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/openprocurement/robot_tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openprocurement/robot_tests/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/openprocurement/robot_tests/statuses/f62e4a1b13793b66ca6815a0391a57cb51310a45"}}}}