File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ def test_split_servers(get_cluster_info):
2626 }
2727 backend ._lib .Client = Mock ()
2828 assert backend ._cache
29- get_cluster_info .assert_called_once_with ('h' , '0' , socket ._GLOBAL_DEFAULT_TIMEOUT )
29+ get_cluster_info .assert_called_once_with (
30+ 'h' , '0' , socket ._GLOBAL_DEFAULT_TIMEOUT )
3031 backend ._lib .Client .assert_called_once_with (servers , ignore_exc = True )
3132
3233
@@ -49,7 +50,8 @@ def test_node_info_cache(get_cluster_info):
4950 eq_ (backend ._cache .get .call_count , 2 )
5051 eq_ (backend ._cache .set .call_count , 2 )
5152
52- get_cluster_info .assert_called_once_with ('h' , '0' , socket ._GLOBAL_DEFAULT_TIMEOUT )
53+ get_cluster_info .assert_called_once_with (
54+ 'h' , '0' , socket ._GLOBAL_DEFAULT_TIMEOUT )
5355
5456
5557@patch ('django.conf.settings' , global_settings )
You can’t perform that action at this time.
0 commit comments