We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 330c13c + d411e24 commit fd08d7cCopy full SHA for fd08d7c
1 file changed
tests/client/test_client_network.py
@@ -44,9 +44,17 @@ def test_configure_as_leader(client):
44
"""Test configuring the current instance as a Leader with one follower."""
45
body = {
46
"remotes": {
47
- REMOTE_MS_1: {"url": "http://localhost:7701", "searchApiKey": "remoteSearchKey"}
+ REMOTE_MS_1: {
48
+ "url": "http://localhost:7701",
49
+ "searchApiKey": "remoteSearchKey",
50
+ }
51
},
52
"leader": None,
53
}
54
response = client.add_or_update_networks(body)
55
+
56
+ assert isinstance(response, dict)
57
assert REMOTE_MS_1 in response["remotes"]
58
+ assert response.get("leader") is None
59
60
+ reset_network_config(client)
0 commit comments