core: Update refresh test case to fail on multiple calls to same backend
This commit is contained in:
parent
511cf4e326
commit
e5f59495fc
@ -190,8 +190,8 @@ class CoreLibraryTest(BaseCoreLibraryTest):
|
||||
def test_refresh_without_uri_calls_all_backends(self):
|
||||
self.core.library.refresh()
|
||||
|
||||
self.library1.refresh.assert_called_once_with(None)
|
||||
self.library2.refresh.assert_called_twice_with(None)
|
||||
self.library1.refresh.return_value.get.assert_called_once_with()
|
||||
self.library2.refresh.return_value.get.assert_called_once_with()
|
||||
|
||||
def test_search_combines_results_from_all_backends(self):
|
||||
track1 = Track(uri='dummy1:a')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user