{"action":"created","comment":{"url":"https://api.github.com/repos/qtop/qtop/pulls/comments/48615804","id":48615804,"diff_hunk":"@@ -1,7 +1,13 @@\n-__author__ = 'sfranky'\n-\n-import re\n import pytest\n+import re\n+\n+from qtop import create_job_counts, get_selected_batch_system, load_yaml_config\n+from common_module import JobNotFound, SchedulerNotSpecified, NoSchedulerFound\n+\n+\n+@pytest.fixture","path":"tests/test_qtop.py","position":11,"original_position":11,"commit_id":"2f227f5ac5a34e1c4cfaf49d1101b20ab3d13959","original_commit_id":"2f227f5ac5a34e1c4cfaf49d1101b20ab3d13959","user":{"login":"fgeorgatos","id":1531968,"avatar_url":"https://avatars.githubusercontent.com/u/1531968?v=3","gravatar_id":"","url":"https://api.github.com/users/fgeorgatos","html_url":"https://github.com/fgeorgatos","followers_url":"https://api.github.com/users/fgeorgatos/followers","following_url":"https://api.github.com/users/fgeorgatos/following{/other_user}","gists_url":"https://api.github.com/users/fgeorgatos/gists{/gist_id}","starred_url":"https://api.github.com/users/fgeorgatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgeorgatos/subscriptions","organizations_url":"https://api.github.com/users/fgeorgatos/orgs","repos_url":"https://api.github.com/users/fgeorgatos/repos","events_url":"https://api.github.com/users/fgeorgatos/events{/privacy}","received_events_url":"https://api.github.com/users/fgeorgatos/received_events","type":"User","site_admin":false},"body":"What gives?","created_at":"2015-12-30T16:56:00Z","updated_at":"2015-12-30T16:56:00Z","html_url":"https://github.com/qtop/qtop/pull/100#discussion_r48615804","pull_request_url":"https://api.github.com/repos/qtop/qtop/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/qtop/qtop/pulls/comments/48615804"},"html":{"href":"https://github.com/qtop/qtop/pull/100#discussion_r48615804"},"pull_request":{"href":"https://api.github.com/repos/qtop/qtop/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/qtop/qtop/pulls/100","id":54762488,"html_url":"https://github.com/qtop/qtop/pull/100","diff_url":"https://github.com/qtop/qtop/pull/100.diff","patch_url":"https://github.com/qtop/qtop/pull/100.patch","issue_url":"https://api.github.com/repos/qtop/qtop/issues/100","number":100,"state":"open","locked":false,"title":"scheduler selection optimizations, more tests, refactoring","user":{"login":"sfranky","id":1530259,"avatar_url":"https://avatars.githubusercontent.com/u/1530259?v=3","gravatar_id":"","url":"https://api.github.com/users/sfranky","html_url":"https://github.com/sfranky","followers_url":"https://api.github.com/users/sfranky/followers","following_url":"https://api.github.com/users/sfranky/following{/other_user}","gists_url":"https://api.github.com/users/sfranky/gists{/gist_id}","starred_url":"https://api.github.com/users/sfranky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfranky/subscriptions","organizations_url":"https://api.github.com/users/sfranky/orgs","repos_url":"https://api.github.com/users/sfranky/repos","events_url":"https://api.github.com/users/sfranky/events{/privacy}","received_events_url":"https://api.github.com/users/sfranky/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-29T22:11:25Z","updated_at":"2015-12-30T16:56:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71abf263846a9de614480d177972de578592e2a2","assignee":{"login":"fgeorgatos","id":1531968,"avatar_url":"https://avatars.githubusercontent.com/u/1531968?v=3","gravatar_id":"","url":"https://api.github.com/users/fgeorgatos","html_url":"https://github.com/fgeorgatos","followers_url":"https://api.github.com/users/fgeorgatos/followers","following_url":"https://api.github.com/users/fgeorgatos/following{/other_user}","gists_url":"https://api.github.com/users/fgeorgatos/gists{/gist_id}","starred_url":"https://api.github.com/users/fgeorgatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgeorgatos/subscriptions","organizations_url":"https://api.github.com/users/fgeorgatos/orgs","repos_url":"https://api.github.com/users/fgeorgatos/repos","events_url":"https://api.github.com/users/fgeorgatos/events{/privacy}","received_events_url":"https://api.github.com/users/fgeorgatos/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/qtop/qtop/pulls/100/commits","review_comments_url":"https://api.github.com/repos/qtop/qtop/pulls/100/comments","review_comment_url":"https://api.github.com/repos/qtop/qtop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qtop/qtop/issues/100/comments","statuses_url":"https://api.github.com/repos/qtop/qtop/statuses/2f227f5ac5a34e1c4cfaf49d1101b20ab3d13959","head":{"label":"qtop:br-refactoring","ref":"br-refactoring","sha":"2f227f5ac5a34e1c4cfaf49d1101b20ab3d13959","user":{"login":"qtop","id":13996987,"avatar_url":"https://avatars.githubusercontent.com/u/13996987?v=3","gravatar_id":"","url":"https://api.github.com/users/qtop","html_url":"https://github.com/qtop","followers_url":"https://api.github.com/users/qtop/followers","following_url":"https://api.github.com/users/qtop/following{/other_user}","gists_url":"https://api.github.com/users/qtop/gists{/gist_id}","starred_url":"https://api.github.com/users/qtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qtop/subscriptions","organizations_url":"https://api.github.com/users/qtop/orgs","repos_url":"https://api.github.com/users/qtop/repos","events_url":"https://api.github.com/users/qtop/events{/privacy}","received_events_url":"https://api.github.com/users/qtop/received_events","type":"Organization","site_admin":false},"repo":{"id":3699155,"name":"qtop","full_name":"qtop/qtop","owner":{"login":"qtop","id":13996987,"avatar_url":"https://avatars.githubusercontent.com/u/13996987?v=3","gravatar_id":"","url":"https://api.github.com/users/qtop","html_url":"https://github.com/qtop","followers_url":"https://api.github.com/users/qtop/followers","following_url":"https://api.github.com/users/qtop/following{/other_user}","gists_url":"https://api.github.com/users/qtop/gists{/gist_id}","starred_url":"https://api.github.com/users/qtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qtop/subscriptions","organizations_url":"https://api.github.com/users/qtop/orgs","repos_url":"https://api.github.com/users/qtop/repos","events_url":"https://api.github.com/users/qtop/events{/privacy}","received_events_url":"https://api.github.com/users/qtop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qtop/qtop","description":"qtop (pronounced queue-top) is a tool written in order to summarize the state of Queueing Systems, along with some related information relevant on (grid) clusters. At present it supports the PBS family, as well as SGE and OAR. More to follow...","fork":false,"url":"https://api.github.com/repos/qtop/qtop","forks_url":"https://api.github.com/repos/qtop/qtop/forks","keys_url":"https://api.github.com/repos/qtop/qtop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qtop/qtop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qtop/qtop/teams","hooks_url":"https://api.github.com/repos/qtop/qtop/hooks","issue_events_url":"https://api.github.com/repos/qtop/qtop/issues/events{/number}","events_url":"https://api.github.com/repos/qtop/qtop/events","assignees_url":"https://api.github.com/repos/qtop/qtop/assignees{/user}","branches_url":"https://api.github.com/repos/qtop/qtop/branches{/branch}","tags_url":"https://api.github.com/repos/qtop/qtop/tags","blobs_url":"https://api.github.com/repos/qtop/qtop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qtop/qtop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qtop/qtop/git/refs{/sha}","trees_url":"https://api.github.com/repos/qtop/qtop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qtop/qtop/statuses/{sha}","languages_url":"https://api.github.com/repos/qtop/qtop/languages","stargazers_url":"https://api.github.com/repos/qtop/qtop/stargazers","contributors_url":"https://api.github.com/repos/qtop/qtop/contributors","subscribers_url":"https://api.github.com/repos/qtop/qtop/subscribers","subscription_url":"https://api.github.com/repos/qtop/qtop/subscription","commits_url":"https://api.github.com/repos/qtop/qtop/commits{/sha}","git_commits_url":"https://api.github.com/repos/qtop/qtop/git/commits{/sha}","comments_url":"https://api.github.com/repos/qtop/qtop/comments{/number}","issue_comment_url":"https://api.github.com/repos/qtop/qtop/issues/comments{/number}","contents_url":"https://api.github.com/repos/qtop/qtop/contents/{+path}","compare_url":"https://api.github.com/repos/qtop/qtop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qtop/qtop/merges","archive_url":"https://api.github.com/repos/qtop/qtop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qtop/qtop/downloads","issues_url":"https://api.github.com/repos/qtop/qtop/issues{/number}","pulls_url":"https://api.github.com/repos/qtop/qtop/pulls{/number}","milestones_url":"https://api.github.com/repos/qtop/qtop/milestones{/number}","notifications_url":"https://api.github.com/repos/qtop/qtop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qtop/qtop/labels{/name}","releases_url":"https://api.github.com/repos/qtop/qtop/releases{/id}","created_at":"2012-03-12T19:47:24Z","updated_at":"2015-12-14T18:26:58Z","pushed_at":"2015-12-29T22:11:25Z","git_url":"git://github.com/qtop/qtop.git","ssh_url":"git@github.com:qtop/qtop.git","clone_url":"https://github.com/qtop/qtop.git","svn_url":"https://github.com/qtop/qtop","homepage":"http:/cern.ch/fotis/QTOP","size":866,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":23,"forks":1,"open_issues":23,"watchers":6,"default_branch":"master"}},"base":{"label":"qtop:develop","ref":"develop","sha":"a4d7373fdae5cbac3647a3740ca109ed3e1e3a05","user":{"login":"qtop","id":13996987,"avatar_url":"https://avatars.githubusercontent.com/u/13996987?v=3","gravatar_id":"","url":"https://api.github.com/users/qtop","html_url":"https://github.com/qtop","followers_url":"https://api.github.com/users/qtop/followers","following_url":"https://api.github.com/users/qtop/following{/other_user}","gists_url":"https://api.github.com/users/qtop/gists{/gist_id}","starred_url":"https://api.github.com/users/qtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qtop/subscriptions","organizations_url":"https://api.github.com/users/qtop/orgs","repos_url":"https://api.github.com/users/qtop/repos","events_url":"https://api.github.com/users/qtop/events{/privacy}","received_events_url":"https://api.github.com/users/qtop/received_events","type":"Organization","site_admin":false},"repo":{"id":3699155,"name":"qtop","full_name":"qtop/qtop","owner":{"login":"qtop","id":13996987,"avatar_url":"https://avatars.githubusercontent.com/u/13996987?v=3","gravatar_id":"","url":"https://api.github.com/users/qtop","html_url":"https://github.com/qtop","followers_url":"https://api.github.com/users/qtop/followers","following_url":"https://api.github.com/users/qtop/following{/other_user}","gists_url":"https://api.github.com/users/qtop/gists{/gist_id}","starred_url":"https://api.github.com/users/qtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qtop/subscriptions","organizations_url":"https://api.github.com/users/qtop/orgs","repos_url":"https://api.github.com/users/qtop/repos","events_url":"https://api.github.com/users/qtop/events{/privacy}","received_events_url":"https://api.github.com/users/qtop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qtop/qtop","description":"qtop (pronounced queue-top) is a tool written in order to summarize the state of Queueing Systems, along with some related information relevant on (grid) clusters. At present it supports the PBS family, as well as SGE and OAR. More to follow...","fork":false,"url":"https://api.github.com/repos/qtop/qtop","forks_url":"https://api.github.com/repos/qtop/qtop/forks","keys_url":"https://api.github.com/repos/qtop/qtop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qtop/qtop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qtop/qtop/teams","hooks_url":"https://api.github.com/repos/qtop/qtop/hooks","issue_events_url":"https://api.github.com/repos/qtop/qtop/issues/events{/number}","events_url":"https://api.github.com/repos/qtop/qtop/events","assignees_url":"https://api.github.com/repos/qtop/qtop/assignees{/user}","branches_url":"https://api.github.com/repos/qtop/qtop/branches{/branch}","tags_url":"https://api.github.com/repos/qtop/qtop/tags","blobs_url":"https://api.github.com/repos/qtop/qtop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qtop/qtop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qtop/qtop/git/refs{/sha}","trees_url":"https://api.github.com/repos/qtop/qtop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qtop/qtop/statuses/{sha}","languages_url":"https://api.github.com/repos/qtop/qtop/languages","stargazers_url":"https://api.github.com/repos/qtop/qtop/stargazers","contributors_url":"https://api.github.com/repos/qtop/qtop/contributors","subscribers_url":"https://api.github.com/repos/qtop/qtop/subscribers","subscription_url":"https://api.github.com/repos/qtop/qtop/subscription","commits_url":"https://api.github.com/repos/qtop/qtop/commits{/sha}","git_commits_url":"https://api.github.com/repos/qtop/qtop/git/commits{/sha}","comments_url":"https://api.github.com/repos/qtop/qtop/comments{/number}","issue_comment_url":"https://api.github.com/repos/qtop/qtop/issues/comments{/number}","contents_url":"https://api.github.com/repos/qtop/qtop/contents/{+path}","compare_url":"https://api.github.com/repos/qtop/qtop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qtop/qtop/merges","archive_url":"https://api.github.com/repos/qtop/qtop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qtop/qtop/downloads","issues_url":"https://api.github.com/repos/qtop/qtop/issues{/number}","pulls_url":"https://api.github.com/repos/qtop/qtop/pulls{/number}","milestones_url":"https://api.github.com/repos/qtop/qtop/milestones{/number}","notifications_url":"https://api.github.com/repos/qtop/qtop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qtop/qtop/labels{/name}","releases_url":"https://api.github.com/repos/qtop/qtop/releases{/id}","created_at":"2012-03-12T19:47:24Z","updated_at":"2015-12-14T18:26:58Z","pushed_at":"2015-12-29T22:11:25Z","git_url":"git://github.com/qtop/qtop.git","ssh_url":"git@github.com:qtop/qtop.git","clone_url":"https://github.com/qtop/qtop.git","svn_url":"https://github.com/qtop/qtop","homepage":"http:/cern.ch/fotis/QTOP","size":866,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":23,"forks":1,"open_issues":23,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qtop/qtop/pulls/100"},"html":{"href":"https://github.com/qtop/qtop/pull/100"},"issue":{"href":"https://api.github.com/repos/qtop/qtop/issues/100"},"comments":{"href":"https://api.github.com/repos/qtop/qtop/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/qtop/qtop/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/qtop/qtop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qtop/qtop/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/qtop/qtop/statuses/2f227f5ac5a34e1c4cfaf49d1101b20ab3d13959"}}}}