{"action":"created","comment":{"url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/comments/112894759","pull_request_review_id":34241870,"id":112894759,"diff_hunk":"@@ -174,3 +174,18 @@ def ping(self, asserts_in=None):\n         self.print_req_info(response)\n         self.check_response(response, asserts_in)\n         return response.json()\n+\n+    def flows(self, asserts_in=None):\n+        \"\"\" Ping REST API\n+        Name:        \"flows\",\n+        Method:      \"GET\",\n+        Pattern:     \"Flows\",\n+        \"\"\"\n+        pattern = \"Flows\"\n+        response = requests.get(\n+            pytest.config.getini(\"usm_api_url\") + pattern,\n+            auth=self._auth,)\n+        self.print_req_info(response)\n+        self.check_response(response, asserts_in)\n+        # TODO: some minimal validation of flows response?","path":"usmqe/api/tendrlapi/common.py","position":17,"original_position":17,"commit_id":"1a113e28a45f319908638541c44ed71be661b4f8","original_commit_id":"1a113e28a45f319908638541c44ed71be661b4f8","user":{"login":"fbalak","id":22369801,"avatar_url":"https://avatars0.githubusercontent.com/u/22369801?v=3","gravatar_id":"","url":"https://api.github.com/users/fbalak","html_url":"https://github.com/fbalak","followers_url":"https://api.github.com/users/fbalak/followers","following_url":"https://api.github.com/users/fbalak/following{/other_user}","gists_url":"https://api.github.com/users/fbalak/gists{/gist_id}","starred_url":"https://api.github.com/users/fbalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbalak/subscriptions","organizations_url":"https://api.github.com/users/fbalak/orgs","repos_url":"https://api.github.com/users/fbalak/repos","events_url":"https://api.github.com/users/fbalak/events{/privacy}","received_events_url":"https://api.github.com/users/fbalak/received_events","type":"User","site_admin":false},"body":"Flows is dynamically generated from definitions files so there could be some complicated check if it generates flows properly but I would just add check for valid json if any.","created_at":"2017-04-24T08:55:37Z","updated_at":"2017-04-24T08:56:35Z","html_url":"https://github.com/Tendrl/usmqe-tests/pull/71#discussion_r112894759","pull_request_url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/comments/112894759"},"html":{"href":"https://github.com/Tendrl/usmqe-tests/pull/71#discussion_r112894759"},"pull_request":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71","id":116567077,"html_url":"https://github.com/Tendrl/usmqe-tests/pull/71","diff_url":"https://github.com/Tendrl/usmqe-tests/pull/71.diff","patch_url":"https://github.com/Tendrl/usmqe-tests/pull/71.patch","issue_url":"https://api.github.com/repos/Tendrl/usmqe-tests/issues/71","number":71,"state":"open","locked":false,"title":"Update auth api tests","user":{"login":"mbukatov","id":4759819,"avatar_url":"https://avatars0.githubusercontent.com/u/4759819?v=3","gravatar_id":"","url":"https://api.github.com/users/mbukatov","html_url":"https://github.com/mbukatov","followers_url":"https://api.github.com/users/mbukatov/followers","following_url":"https://api.github.com/users/mbukatov/following{/other_user}","gists_url":"https://api.github.com/users/mbukatov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbukatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbukatov/subscriptions","organizations_url":"https://api.github.com/users/mbukatov/orgs","repos_url":"https://api.github.com/users/mbukatov/repos","events_url":"https://api.github.com/users/mbukatov/events{/privacy}","received_events_url":"https://api.github.com/users/mbukatov/received_events","type":"User","site_admin":false},"body":"Since ping call no longer requires authentication, this commit removes\r\nvalid_session_credentials fixture from ping test and replaces ping with\r\nflows call in authentication tests.\r\n\r\nResolves https://github.com/Tendrl/usmqe-tests/issues/70","created_at":"2017-04-19T14:50:53Z","updated_at":"2017-04-24T08:56:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3ee2bcc45f5262ea5f2009615d32bd255f709ee","assignee":{"login":"mbukatov","id":4759819,"avatar_url":"https://avatars0.githubusercontent.com/u/4759819?v=3","gravatar_id":"","url":"https://api.github.com/users/mbukatov","html_url":"https://github.com/mbukatov","followers_url":"https://api.github.com/users/mbukatov/followers","following_url":"https://api.github.com/users/mbukatov/following{/other_user}","gists_url":"https://api.github.com/users/mbukatov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbukatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbukatov/subscriptions","organizations_url":"https://api.github.com/users/mbukatov/orgs","repos_url":"https://api.github.com/users/mbukatov/repos","events_url":"https://api.github.com/users/mbukatov/events{/privacy}","received_events_url":"https://api.github.com/users/mbukatov/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbukatov","id":4759819,"avatar_url":"https://avatars0.githubusercontent.com/u/4759819?v=3","gravatar_id":"","url":"https://api.github.com/users/mbukatov","html_url":"https://github.com/mbukatov","followers_url":"https://api.github.com/users/mbukatov/followers","following_url":"https://api.github.com/users/mbukatov/following{/other_user}","gists_url":"https://api.github.com/users/mbukatov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbukatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbukatov/subscriptions","organizations_url":"https://api.github.com/users/mbukatov/orgs","repos_url":"https://api.github.com/users/mbukatov/repos","events_url":"https://api.github.com/users/mbukatov/events{/privacy}","received_events_url":"https://api.github.com/users/mbukatov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71/commits","review_comments_url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71/comments","review_comment_url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tendrl/usmqe-tests/issues/71/comments","statuses_url":"https://api.github.com/repos/Tendrl/usmqe-tests/statuses/1a113e28a45f319908638541c44ed71be661b4f8","head":{"label":"mbukatov:update_auth_api_tests","ref":"update_auth_api_tests","sha":"1a113e28a45f319908638541c44ed71be661b4f8","user":{"login":"mbukatov","id":4759819,"avatar_url":"https://avatars0.githubusercontent.com/u/4759819?v=3","gravatar_id":"","url":"https://api.github.com/users/mbukatov","html_url":"https://github.com/mbukatov","followers_url":"https://api.github.com/users/mbukatov/followers","following_url":"https://api.github.com/users/mbukatov/following{/other_user}","gists_url":"https://api.github.com/users/mbukatov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbukatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbukatov/subscriptions","organizations_url":"https://api.github.com/users/mbukatov/orgs","repos_url":"https://api.github.com/users/mbukatov/repos","events_url":"https://api.github.com/users/mbukatov/events{/privacy}","received_events_url":"https://api.github.com/users/mbukatov/received_events","type":"User","site_admin":false},"repo":{"id":75400439,"name":"usmqe-tests","full_name":"mbukatov/usmqe-tests","owner":{"login":"mbukatov","id":4759819,"avatar_url":"https://avatars0.githubusercontent.com/u/4759819?v=3","gravatar_id":"","url":"https://api.github.com/users/mbukatov","html_url":"https://github.com/mbukatov","followers_url":"https://api.github.com/users/mbukatov/followers","following_url":"https://api.github.com/users/mbukatov/following{/other_user}","gists_url":"https://api.github.com/users/mbukatov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbukatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbukatov/subscriptions","organizations_url":"https://api.github.com/users/mbukatov/orgs","repos_url":"https://api.github.com/users/mbukatov/repos","events_url":"https://api.github.com/users/mbukatov/events{/privacy}","received_events_url":"https://api.github.com/users/mbukatov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbukatov/usmqe-tests","description":"Tendrl automated test code","fork":true,"url":"https://api.github.com/repos/mbukatov/usmqe-tests","forks_url":"https://api.github.com/repos/mbukatov/usmqe-tests/forks","keys_url":"https://api.github.com/repos/mbukatov/usmqe-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbukatov/usmqe-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbukatov/usmqe-tests/teams","hooks_url":"https://api.github.com/repos/mbukatov/usmqe-tests/hooks","issue_events_url":"https://api.github.com/repos/mbukatov/usmqe-tests/issues/events{/number}","events_url":"https://api.github.com/repos/mbukatov/usmqe-tests/events","assignees_url":"https://api.github.com/repos/mbukatov/usmqe-tests/assignees{/user}","branches_url":"https://api.github.com/repos/mbukatov/usmqe-tests/branches{/branch}","tags_url":"https://api.github.com/repos/mbukatov/usmqe-tests/tags","blobs_url":"https://api.github.com/repos/mbukatov/usmqe-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbukatov/usmqe-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbukatov/usmqe-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbukatov/usmqe-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbukatov/usmqe-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/mbukatov/usmqe-tests/languages","stargazers_url":"https://api.github.com/repos/mbukatov/usmqe-tests/stargazers","contributors_url":"https://api.github.com/repos/mbukatov/usmqe-tests/contributors","subscribers_url":"https://api.github.com/repos/mbukatov/usmqe-tests/subscribers","subscription_url":"https://api.github.com/repos/mbukatov/usmqe-tests/subscription","commits_url":"https://api.github.com/repos/mbukatov/usmqe-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbukatov/usmqe-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbukatov/usmqe-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbukatov/usmqe-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbukatov/usmqe-tests/contents/{+path}","compare_url":"https://api.github.com/repos/mbukatov/usmqe-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbukatov/usmqe-tests/merges","archive_url":"https://api.github.com/repos/mbukatov/usmqe-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbukatov/usmqe-tests/downloads","issues_url":"https://api.github.com/repos/mbukatov/usmqe-tests/issues{/number}","pulls_url":"https://api.github.com/repos/mbukatov/usmqe-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/mbukatov/usmqe-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/mbukatov/usmqe-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbukatov/usmqe-tests/labels{/name}","releases_url":"https://api.github.com/repos/mbukatov/usmqe-tests/releases{/id}","deployments_url":"https://api.github.com/repos/mbukatov/usmqe-tests/deployments","created_at":"2016-12-02T14:00:52Z","updated_at":"2016-12-02T14:00:53Z","pushed_at":"2017-04-24T08:18:24Z","git_url":"git://github.com/mbukatov/usmqe-tests.git","ssh_url":"git@github.com:mbukatov/usmqe-tests.git","clone_url":"https://github.com/mbukatov/usmqe-tests.git","svn_url":"https://github.com/mbukatov/usmqe-tests","homepage":"https://usmqe-tests.readthedocs.io/en/latest/","size":316,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"Tendrl:master","ref":"master","sha":"fa63e4276168346c7aab3b320a2ff63b73637eea","user":{"login":"Tendrl","id":19151627,"avatar_url":"https://avatars3.githubusercontent.com/u/19151627?v=3","gravatar_id":"","url":"https://api.github.com/users/Tendrl","html_url":"https://github.com/Tendrl","followers_url":"https://api.github.com/users/Tendrl/followers","following_url":"https://api.github.com/users/Tendrl/following{/other_user}","gists_url":"https://api.github.com/users/Tendrl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tendrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tendrl/subscriptions","organizations_url":"https://api.github.com/users/Tendrl/orgs","repos_url":"https://api.github.com/users/Tendrl/repos","events_url":"https://api.github.com/users/Tendrl/events{/privacy}","received_events_url":"https://api.github.com/users/Tendrl/received_events","type":"Organization","site_admin":false},"repo":{"id":72005062,"name":"usmqe-tests","full_name":"Tendrl/usmqe-tests","owner":{"login":"Tendrl","id":19151627,"avatar_url":"https://avatars3.githubusercontent.com/u/19151627?v=3","gravatar_id":"","url":"https://api.github.com/users/Tendrl","html_url":"https://github.com/Tendrl","followers_url":"https://api.github.com/users/Tendrl/followers","following_url":"https://api.github.com/users/Tendrl/following{/other_user}","gists_url":"https://api.github.com/users/Tendrl/gists{/gist_id}","starred_url":"https://api.github.com/users/Tendrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tendrl/subscriptions","organizations_url":"https://api.github.com/users/Tendrl/orgs","repos_url":"https://api.github.com/users/Tendrl/repos","events_url":"https://api.github.com/users/Tendrl/events{/privacy}","received_events_url":"https://api.github.com/users/Tendrl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tendrl/usmqe-tests","description":"Tendrl automated test code","fork":false,"url":"https://api.github.com/repos/Tendrl/usmqe-tests","forks_url":"https://api.github.com/repos/Tendrl/usmqe-tests/forks","keys_url":"https://api.github.com/repos/Tendrl/usmqe-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tendrl/usmqe-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tendrl/usmqe-tests/teams","hooks_url":"https://api.github.com/repos/Tendrl/usmqe-tests/hooks","issue_events_url":"https://api.github.com/repos/Tendrl/usmqe-tests/issues/events{/number}","events_url":"https://api.github.com/repos/Tendrl/usmqe-tests/events","assignees_url":"https://api.github.com/repos/Tendrl/usmqe-tests/assignees{/user}","branches_url":"https://api.github.com/repos/Tendrl/usmqe-tests/branches{/branch}","tags_url":"https://api.github.com/repos/Tendrl/usmqe-tests/tags","blobs_url":"https://api.github.com/repos/Tendrl/usmqe-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tendrl/usmqe-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tendrl/usmqe-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tendrl/usmqe-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tendrl/usmqe-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/Tendrl/usmqe-tests/languages","stargazers_url":"https://api.github.com/repos/Tendrl/usmqe-tests/stargazers","contributors_url":"https://api.github.com/repos/Tendrl/usmqe-tests/contributors","subscribers_url":"https://api.github.com/repos/Tendrl/usmqe-tests/subscribers","subscription_url":"https://api.github.com/repos/Tendrl/usmqe-tests/subscription","commits_url":"https://api.github.com/repos/Tendrl/usmqe-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tendrl/usmqe-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tendrl/usmqe-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tendrl/usmqe-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tendrl/usmqe-tests/contents/{+path}","compare_url":"https://api.github.com/repos/Tendrl/usmqe-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tendrl/usmqe-tests/merges","archive_url":"https://api.github.com/repos/Tendrl/usmqe-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tendrl/usmqe-tests/downloads","issues_url":"https://api.github.com/repos/Tendrl/usmqe-tests/issues{/number}","pulls_url":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/Tendrl/usmqe-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/Tendrl/usmqe-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tendrl/usmqe-tests/labels{/name}","releases_url":"https://api.github.com/repos/Tendrl/usmqe-tests/releases{/id}","deployments_url":"https://api.github.com/repos/Tendrl/usmqe-tests/deployments","created_at":"2016-10-26T13:19:49Z","updated_at":"2017-02-10T10:09:49Z","pushed_at":"2017-04-24T08:18:25Z","git_url":"git://github.com/Tendrl/usmqe-tests.git","ssh_url":"git@github.com:Tendrl/usmqe-tests.git","clone_url":"https://github.com/Tendrl/usmqe-tests.git","svn_url":"https://github.com/Tendrl/usmqe-tests","homepage":"https://usmqe-tests.readthedocs.io/en/latest/","size":317,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":24,"forks":5,"open_issues":24,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71"},"html":{"href":"https://github.com/Tendrl/usmqe-tests/pull/71"},"issue":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/issues/71"},"comments":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/Tendrl/usmqe-tests/statuses/1a113e28a45f319908638541c44ed71be661b4f8"}}}}
{"actor":{"display_login":"fbalak"}}