Skip to content

Commit

Permalink
fix the name
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Aug 9, 2023
1 parent b14bc1d commit ee57d1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nucliadb_node_binding/tests/integration/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from nucliadb_node_binding import NodeReader, NodeWriter # type: ignore


class NucliaCluster:
class IndexNode:
def __init__(self):
self.writer = NodeWriter()
self.reader = NodeReader()
Expand Down Expand Up @@ -74,7 +74,7 @@ def call_search_api(self, name, request, resp_klass):

@pytest.mark.asyncio
async def test_set_and_search(data_path):
cluster = NucliaCluster()
cluster = IndexNode()

shard_id = cluster.create_shard("test-kbid")
cluster.create_resource(shard_id)
Expand All @@ -90,7 +90,7 @@ async def test_set_and_search(data_path):

@pytest.mark.asyncio
async def test_set_and_document_search(data_path):
cluster = NucliaCluster()
cluster = IndexNode()
shard_id = cluster.create_shard("test-kbid")
cluster.create_resource(shard_id)

Expand Down

0 comments on commit ee57d1c

Please sign in to comment.