Skip to content

Commit f4e8c7c

Browse files
opapyopapy
authored andcommitted
fix pep8
1 parent 12b2276 commit f4e8c7c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_backend.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)