File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,17 +38,15 @@ def test_add_or_update_networks(client):
3838
3939 reset_network_config (client )
4040
41+
4142@pytest .mark .usefixtures ("enable_network_options" )
4243def test_configure_as_leader (client ):
4344 """Test configuring the current instance as a Leader with one follower."""
4445 body = {
4546 "remotes" : {
46- REMOTE_MS_1 : {
47- "url" : "http://localhost:7701" ,
48- "searchApiKey" : "remoteSearchKey"
49- }
47+ REMOTE_MS_1 : {"url" : "http://localhost:7701" , "searchApiKey" : "remoteSearchKey" }
5048 },
51- "leader" : None
49+ "leader" : None ,
5250 }
5351 response = client .add_or_update_networks (body )
5452 assert REMOTE_MS_1 in response ["remotes" ]
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def test_huggingface_embedder_format(empty_index):
9595 }
9696 }
9797 response = index .update_embedders (huggingface_embedder )
98- index .wait_for_task (response .task_uid , timeout_in_ms = 60000 ) # embedder config can take longer.
98+ index .wait_for_task (response .task_uid , timeout_in_ms = 60000 ) # embedder config can take longer.
9999 embedders = index .get_embedders ()
100100 assert embedders .embedders ["huggingface" ].source == "huggingFace"
101101 assert embedders .embedders ["huggingface" ].model == "BAAI/bge-base-en-v1.5"
You can’t perform that action at this time.
0 commit comments