Skip to content

Commit

Permalink
Merge branch 'master' into release-2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Jun 9, 2019
2 parents 3ab6b55 + dbd8051 commit 6a26c6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/internal/network/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test_maximum_connections_exceeded(self):
self.assertFalse(
network.Server.maximum_connections_exceeded(self.mock))

@patch('pykka.registry.ActorRegistry.get_by_class')
@patch('pykka.ActorRegistry.get_by_class')
def test_number_of_connections(self, get_by_class):
self.mock.protocol = sentinel.protocol

Expand Down
2 changes: 1 addition & 1 deletion tests/mpd/test_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_status_method_when_playing_contains_time_with_no_length(self):

def test_status_method_when_playing_contains_time_with_length(self):
self.set_tracklist([Track(uri='dummy:/a', length=10000)])
self.core.playback.play()
self.core.playback.play().get()
result = dict(status.status(self.context))
self.assertIn('time', result)
(position, total) = result['time'].split(':')
Expand Down

0 comments on commit 6a26c6b

Please sign in to comment.