Skip to content

Commit 330c13c

Browse files
committed
style: fix black formatting
1 parent 0fa99bf commit 330c13c

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

tests/client/test_client_network.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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")
4243
def 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"]

tests/settings/test_settings_embedders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)