We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa99bf commit d411e24Copy full SHA for d411e24
1 file changed
tests/client/test_client_network.py
@@ -45,10 +45,15 @@ def test_configure_as_leader(client):
45
"remotes": {
46
REMOTE_MS_1: {
47
"url": "http://localhost:7701",
48
- "searchApiKey": "remoteSearchKey"
+ "searchApiKey": "remoteSearchKey",
49
}
50
},
51
- "leader": None
+ "leader": None,
52
53
response = client.add_or_update_networks(body)
54
+
55
+ assert isinstance(response, dict)
56
assert REMOTE_MS_1 in response["remotes"]
57
+ assert response.get("leader") is None
58
59
+ reset_network_config(client)
0 commit comments