Skip to content

Commit bca3fa6

Browse files
author
opapy
committed
fix test
1 parent 7fee4da commit bca3fa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_split_servers(get_cluster_info):
3131
backend._lib.Client = Mock()
3232
assert backend._cache
3333
get_cluster_info.assert_called_once_with(
34-
'h', '0', socket._GLOBAL_DEFAULT_TIMEOUT)
34+
'h', '0', False, socket._GLOBAL_DEFAULT_TIMEOUT)
3535
backend._lib.Client.assert_called_once_with(
3636
servers,
3737
deserializer=deserialize_pickle,
@@ -69,7 +69,7 @@ def test_node_info_cache(get_cluster_info):
6969
eq_(backend._cache.set.call_count, 2)
7070

7171
get_cluster_info.assert_called_once_with(
72-
'h', '0', socket._GLOBAL_DEFAULT_TIMEOUT)
72+
'h', '0', False, socket._GLOBAL_DEFAULT_TIMEOUT)
7373

7474

7575
@patch('django.conf.settings', global_settings)

0 commit comments

Comments
 (0)