Skip to content

Commit d411e24

Browse files
authored
Update test_client_network.py
1 parent 0fa99bf commit d411e24

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

tests/client/test_client_network.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,15 @@ def test_configure_as_leader(client):
4545
"remotes": {
4646
REMOTE_MS_1: {
4747
"url": "http://localhost:7701",
48-
"searchApiKey": "remoteSearchKey"
48+
"searchApiKey": "remoteSearchKey",
4949
}
5050
},
51-
"leader": None
51+
"leader": None,
5252
}
5353
response = client.add_or_update_networks(body)
54+
55+
assert isinstance(response, dict)
5456
assert REMOTE_MS_1 in response["remotes"]
57+
assert response.get("leader") is None
58+
59+
reset_network_config(client)

0 commit comments

Comments
 (0)