{"action":"created","comment":{"url":"https://api.github.com/repos/mopidy/mopidy/pulls/comments/222466647","pull_request_review_id":161361058,"id":222466647,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjQ2NjY0Nw==","diff_hunk":"@@ -59,24 +59,24 @@ def translate_uri(self, uri):\n # playbackprovider Since we rely on our DummyAudio to actually emit events we\n # need a \"real\" backend and not a mock so the right calls make it through to\n # audio.\n-class TestBackend(pykka.ThreadingActor, backend.Backend):\n+class MyTestBackend(pykka.ThreadingActor, backend.Backend):\n     uri_schemes = ['dummy']\n \n     def __init__(self, config, audio):\n-        super(TestBackend, self).__init__()\n-        self.playback = TestPlaybackProvider(audio=audio, backend=self)\n+        super(MyTestBackend, self).__init__()\n+        self.playback = MyTestPlaybackProvider(audio=audio, backend=self)\n \n \n-class BaseTest(unittest.TestCase):\n+class BaseTest(object):\n     config = {'core': {'max_tracklist_length': 10000}}\n     tracks = [Track(uri='dummy:a', length=1234),\n               Track(uri='dummy:b', length=1234),\n               Track(uri='dummy:c', length=1234)]\n \n-    def setUp(self):  # noqa: N802\n+    def setup_method(self, method):  # noqa: N802","path":"tests/core/test_playback.py","position":50,"original_position":50,"commit_id":"fa251c9c41de252b93d0dab776ab1f79719a898c","original_commit_id":"fa251c9c41de252b93d0dab776ab1f79719a898c","user":{"login":"jodal","id":43726,"node_id":"MDQ6VXNlcjQzNzI2","avatar_url":"https://avatars0.githubusercontent.com/u/43726?v=4","gravatar_id":"","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"body":"You can remove the `# noqa: N802` comment, which is to ignore the camel-casing in `setUp`.","created_at":"2018-10-03T21:02:20Z","updated_at":"2018-10-03T21:02:20Z","html_url":"https://github.com/mopidy/mopidy/pull/1695#discussion_r222466647","pull_request_url":"https://api.github.com/repos/mopidy/mopidy/pulls/1695","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/comments/222466647"},"html":{"href":"https://github.com/mopidy/mopidy/pull/1695#discussion_r222466647"},"pull_request":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/1695"}}},"pull_request":{"url":"https://api.github.com/repos/mopidy/mopidy/pulls/1695","id":209553073,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NTUzMDcz","html_url":"https://github.com/mopidy/mopidy/pull/1695","diff_url":"https://github.com/mopidy/mopidy/pull/1695.diff","patch_url":"https://github.com/mopidy/mopidy/pull/1695.patch","issue_url":"https://api.github.com/repos/mopidy/mopidy/issues/1695","number":1695,"state":"open","locked":false,"title":"Better next and previous track tests","user":{"login":"kingosticks","id":934824,"node_id":"MDQ6VXNlcjkzNDgyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/934824?v=4","gravatar_id":"","url":"https://api.github.com/users/kingosticks","html_url":"https://github.com/kingosticks","followers_url":"https://api.github.com/users/kingosticks/followers","following_url":"https://api.github.com/users/kingosticks/following{/other_user}","gists_url":"https://api.github.com/users/kingosticks/gists{/gist_id}","starred_url":"https://api.github.com/users/kingosticks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingosticks/subscriptions","organizations_url":"https://api.github.com/users/kingosticks/orgs","repos_url":"https://api.github.com/users/kingosticks/repos","events_url":"https://api.github.com/users/kingosticks/events{/privacy}","received_events_url":"https://api.github.com/users/kingosticks/received_events","type":"User","site_admin":false},"body":"Towards https://github.com/mopidy/mopidy/issues/1694.\r\n\r\nUse this is a base for reproducing the tables at https://docs.mopidy.com/en/latest/modules/mpd/#mopidy.mpd.protocol.playback.next_ and https://docs.mopidy.com/en/latest/modules/mpd/#mopidy.mpd.protocol.playback.previous and  ","created_at":"2018-08-20T15:09:41Z","updated_at":"2018-10-03T21:02:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c8bb07a7db5fec955961f3723cfe252b82190b3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":22749512,"node_id":"MDU6TGFiZWwyMjc0OTUxMg==","url":"https://api.github.com/repos/mopidy/mopidy/labels/A-core","name":"A-core","color":"d7e102","default":false},{"id":69389,"node_id":"MDU6TGFiZWw2OTM4OQ==","url":"https://api.github.com/repos/mopidy/mopidy/labels/C-enhancement","name":"C-enhancement","color":"f5f1fd","default":false}],"milestone":{"url":"https://api.github.com/repos/mopidy/mopidy/milestones/55","html_url":"https://github.com/mopidy/mopidy/milestone/55","labels_url":"https://api.github.com/repos/mopidy/mopidy/milestones/55/labels","id":1514699,"node_id":"MDk6TWlsZXN0b25lMTUxNDY5OQ==","number":55,"title":"v3.0","description":"","creator":{"login":"jodal","id":43726,"node_id":"MDQ6VXNlcjQzNzI2","avatar_url":"https://avatars0.githubusercontent.com/u/43726?v=4","gravatar_id":"","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":4,"state":"open","created_at":"2016-01-19T07:09:29Z","updated_at":"2018-10-03T20:57:18Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/mopidy/mopidy/pulls/1695/commits","review_comments_url":"https://api.github.com/repos/mopidy/mopidy/pulls/1695/comments","review_comment_url":"https://api.github.com/repos/mopidy/mopidy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mopidy/mopidy/issues/1695/comments","statuses_url":"https://api.github.com/repos/mopidy/mopidy/statuses/fa251c9c41de252b93d0dab776ab1f79719a898c","head":{"label":"kingosticks:feature/better-next-prev-track-tests","ref":"feature/better-next-prev-track-tests","sha":"fa251c9c41de252b93d0dab776ab1f79719a898c","user":{"login":"kingosticks","id":934824,"node_id":"MDQ6VXNlcjkzNDgyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/934824?v=4","gravatar_id":"","url":"https://api.github.com/users/kingosticks","html_url":"https://github.com/kingosticks","followers_url":"https://api.github.com/users/kingosticks/followers","following_url":"https://api.github.com/users/kingosticks/following{/other_user}","gists_url":"https://api.github.com/users/kingosticks/gists{/gist_id}","starred_url":"https://api.github.com/users/kingosticks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingosticks/subscriptions","organizations_url":"https://api.github.com/users/kingosticks/orgs","repos_url":"https://api.github.com/users/kingosticks/repos","events_url":"https://api.github.com/users/kingosticks/events{/privacy}","received_events_url":"https://api.github.com/users/kingosticks/received_events","type":"User","site_admin":false},"repo":{"id":28784766,"node_id":"MDEwOlJlcG9zaXRvcnkyODc4NDc2Ng==","name":"mopidy","full_name":"kingosticks/mopidy","private":false,"owner":{"login":"kingosticks","id":934824,"node_id":"MDQ6VXNlcjkzNDgyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/934824?v=4","gravatar_id":"","url":"https://api.github.com/users/kingosticks","html_url":"https://github.com/kingosticks","followers_url":"https://api.github.com/users/kingosticks/followers","following_url":"https://api.github.com/users/kingosticks/following{/other_user}","gists_url":"https://api.github.com/users/kingosticks/gists{/gist_id}","starred_url":"https://api.github.com/users/kingosticks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingosticks/subscriptions","organizations_url":"https://api.github.com/users/kingosticks/orgs","repos_url":"https://api.github.com/users/kingosticks/repos","events_url":"https://api.github.com/users/kingosticks/events{/privacy}","received_events_url":"https://api.github.com/users/kingosticks/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kingosticks/mopidy","description":"Mopidy is an extensible music server that plays music from local disk, Spotify, SoundCloud, Google Play Music, and more. You edit the playlist from any phone, tablet, or computer using a range of MPD and web clients.","fork":true,"url":"https://api.github.com/repos/kingosticks/mopidy","forks_url":"https://api.github.com/repos/kingosticks/mopidy/forks","keys_url":"https://api.github.com/repos/kingosticks/mopidy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kingosticks/mopidy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kingosticks/mopidy/teams","hooks_url":"https://api.github.com/repos/kingosticks/mopidy/hooks","issue_events_url":"https://api.github.com/repos/kingosticks/mopidy/issues/events{/number}","events_url":"https://api.github.com/repos/kingosticks/mopidy/events","assignees_url":"https://api.github.com/repos/kingosticks/mopidy/assignees{/user}","branches_url":"https://api.github.com/repos/kingosticks/mopidy/branches{/branch}","tags_url":"https://api.github.com/repos/kingosticks/mopidy/tags","blobs_url":"https://api.github.com/repos/kingosticks/mopidy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kingosticks/mopidy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kingosticks/mopidy/git/refs{/sha}","trees_url":"https://api.github.com/repos/kingosticks/mopidy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kingosticks/mopidy/statuses/{sha}","languages_url":"https://api.github.com/repos/kingosticks/mopidy/languages","stargazers_url":"https://api.github.com/repos/kingosticks/mopidy/stargazers","contributors_url":"https://api.github.com/repos/kingosticks/mopidy/contributors","subscribers_url":"https://api.github.com/repos/kingosticks/mopidy/subscribers","subscription_url":"https://api.github.com/repos/kingosticks/mopidy/subscription","commits_url":"https://api.github.com/repos/kingosticks/mopidy/commits{/sha}","git_commits_url":"https://api.github.com/repos/kingosticks/mopidy/git/commits{/sha}","comments_url":"https://api.github.com/repos/kingosticks/mopidy/comments{/number}","issue_comment_url":"https://api.github.com/repos/kingosticks/mopidy/issues/comments{/number}","contents_url":"https://api.github.com/repos/kingosticks/mopidy/contents/{+path}","compare_url":"https://api.github.com/repos/kingosticks/mopidy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kingosticks/mopidy/merges","archive_url":"https://api.github.com/repos/kingosticks/mopidy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kingosticks/mopidy/downloads","issues_url":"https://api.github.com/repos/kingosticks/mopidy/issues{/number}","pulls_url":"https://api.github.com/repos/kingosticks/mopidy/pulls{/number}","milestones_url":"https://api.github.com/repos/kingosticks/mopidy/milestones{/number}","notifications_url":"https://api.github.com/repos/kingosticks/mopidy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kingosticks/mopidy/labels{/name}","releases_url":"https://api.github.com/repos/kingosticks/mopidy/releases{/id}","deployments_url":"https://api.github.com/repos/kingosticks/mopidy/deployments","created_at":"2015-01-04T20:13:09Z","updated_at":"2016-10-27T16:28:17Z","pushed_at":"2018-08-20T15:04:49Z","git_url":"git://github.com/kingosticks/mopidy.git","ssh_url":"git@github.com:kingosticks/mopidy.git","clone_url":"https://github.com/kingosticks/mopidy.git","svn_url":"https://github.com/kingosticks/mopidy","homepage":"www.mopidy.com","size":21747,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"mopidy:develop","ref":"develop","sha":"2ee130057113d7c0b46e16a0d7c19180614d5bd9","user":{"login":"mopidy","id":451998,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MTk5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/451998?v=4","gravatar_id":"","url":"https://api.github.com/users/mopidy","html_url":"https://github.com/mopidy","followers_url":"https://api.github.com/users/mopidy/followers","following_url":"https://api.github.com/users/mopidy/following{/other_user}","gists_url":"https://api.github.com/users/mopidy/gists{/gist_id}","starred_url":"https://api.github.com/users/mopidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopidy/subscriptions","organizations_url":"https://api.github.com/users/mopidy/orgs","repos_url":"https://api.github.com/users/mopidy/repos","events_url":"https://api.github.com/users/mopidy/events{/privacy}","received_events_url":"https://api.github.com/users/mopidy/received_events","type":"Organization","site_admin":false},"repo":{"id":447036,"node_id":"MDEwOlJlcG9zaXRvcnk0NDcwMzY=","name":"mopidy","full_name":"mopidy/mopidy","private":false,"owner":{"login":"mopidy","id":451998,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MTk5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/451998?v=4","gravatar_id":"","url":"https://api.github.com/users/mopidy","html_url":"https://github.com/mopidy","followers_url":"https://api.github.com/users/mopidy/followers","following_url":"https://api.github.com/users/mopidy/following{/other_user}","gists_url":"https://api.github.com/users/mopidy/gists{/gist_id}","starred_url":"https://api.github.com/users/mopidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopidy/subscriptions","organizations_url":"https://api.github.com/users/mopidy/orgs","repos_url":"https://api.github.com/users/mopidy/repos","events_url":"https://api.github.com/users/mopidy/events{/privacy}","received_events_url":"https://api.github.com/users/mopidy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mopidy/mopidy","description":"Mopidy is an extensible music server that plays music from local disk, Spotify, SoundCloud, Google Play Music, and more. You edit the playlist from any phone, tablet, or computer using a range of MPD and web clients.","fork":false,"url":"https://api.github.com/repos/mopidy/mopidy","forks_url":"https://api.github.com/repos/mopidy/mopidy/forks","keys_url":"https://api.github.com/repos/mopidy/mopidy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mopidy/mopidy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mopidy/mopidy/teams","hooks_url":"https://api.github.com/repos/mopidy/mopidy/hooks","issue_events_url":"https://api.github.com/repos/mopidy/mopidy/issues/events{/number}","events_url":"https://api.github.com/repos/mopidy/mopidy/events","assignees_url":"https://api.github.com/repos/mopidy/mopidy/assignees{/user}","branches_url":"https://api.github.com/repos/mopidy/mopidy/branches{/branch}","tags_url":"https://api.github.com/repos/mopidy/mopidy/tags","blobs_url":"https://api.github.com/repos/mopidy/mopidy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mopidy/mopidy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mopidy/mopidy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mopidy/mopidy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mopidy/mopidy/statuses/{sha}","languages_url":"https://api.github.com/repos/mopidy/mopidy/languages","stargazers_url":"https://api.github.com/repos/mopidy/mopidy/stargazers","contributors_url":"https://api.github.com/repos/mopidy/mopidy/contributors","subscribers_url":"https://api.github.com/repos/mopidy/mopidy/subscribers","subscription_url":"https://api.github.com/repos/mopidy/mopidy/subscription","commits_url":"https://api.github.com/repos/mopidy/mopidy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mopidy/mopidy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mopidy/mopidy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mopidy/mopidy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mopidy/mopidy/contents/{+path}","compare_url":"https://api.github.com/repos/mopidy/mopidy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mopidy/mopidy/merges","archive_url":"https://api.github.com/repos/mopidy/mopidy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mopidy/mopidy/downloads","issues_url":"https://api.github.com/repos/mopidy/mopidy/issues{/number}","pulls_url":"https://api.github.com/repos/mopidy/mopidy/pulls{/number}","milestones_url":"https://api.github.com/repos/mopidy/mopidy/milestones{/number}","notifications_url":"https://api.github.com/repos/mopidy/mopidy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mopidy/mopidy/labels{/name}","releases_url":"https://api.github.com/repos/mopidy/mopidy/releases{/id}","deployments_url":"https://api.github.com/repos/mopidy/mopidy/deployments","created_at":"2009-12-23T14:25:36Z","updated_at":"2018-10-03T20:56:55Z","pushed_at":"2018-10-03T20:56:52Z","git_url":"git://github.com/mopidy/mopidy.git","ssh_url":"git@github.com:mopidy/mopidy.git","clone_url":"https://github.com/mopidy/mopidy.git","svn_url":"https://github.com/mopidy/mopidy","homepage":"https://www.mopidy.com","size":21789,"stargazers_count":5439,"watchers_count":5439,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":538,"mirror_url":null,"archived":false,"open_issues_count":208,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":538,"open_issues":208,"watchers":5439,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/1695"},"html":{"href":"https://github.com/mopidy/mopidy/pull/1695"},"issue":{"href":"https://api.github.com/repos/mopidy/mopidy/issues/1695"},"comments":{"href":"https://api.github.com/repos/mopidy/mopidy/issues/1695/comments"},"review_comments":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/1695/comments"},"review_comment":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/1695/commits"},"statuses":{"href":"https://api.github.com/repos/mopidy/mopidy/statuses/fa251c9c41de252b93d0dab776ab1f79719a898c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jodal"}}