Skip to content

Commit

Permalink
fix(framework) Fix docstring in server_interceptor_test (#4697)
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng authored Dec 15, 2024
1 parent 90a12e9 commit b4a760d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def test_unsuccessful_push_task_res_with_metadata(self) -> None:
assert e.exception.code() == grpc.StatusCode.UNAUTHENTICATED

def test_successful_get_run_with_metadata(self) -> None:
"""Test server interceptor for pull task ins."""
"""Test server interceptor for get run."""
# Prepare
self.state.create_node(
ping_interval=30, public_key=public_key_to_bytes(self._node_public_key)
Expand Down Expand Up @@ -376,7 +376,7 @@ def test_successful_get_run_with_metadata(self) -> None:
assert grpc.StatusCode.OK == call.code()

def test_unsuccessful_get_run_with_metadata(self) -> None:
"""Test server interceptor for pull task ins unsuccessfully."""
"""Test server interceptor for get run unsuccessfully."""
# Prepare
self.state.create_node(
ping_interval=30, public_key=public_key_to_bytes(self._node_public_key)
Expand All @@ -403,7 +403,7 @@ def test_unsuccessful_get_run_with_metadata(self) -> None:
)

def test_successful_ping_with_metadata(self) -> None:
"""Test server interceptor for pull task ins."""
"""Test server interceptor for ping."""
# Prepare
node_id = self.state.create_node(
ping_interval=30, public_key=public_key_to_bytes(self._node_public_key)
Expand Down Expand Up @@ -433,7 +433,7 @@ def test_successful_ping_with_metadata(self) -> None:
assert grpc.StatusCode.OK == call.code()

def test_unsuccessful_ping_with_metadata(self) -> None:
"""Test server interceptor for pull task ins unsuccessfully."""
"""Test server interceptor for ping unsuccessfully."""
# Prepare
node_id = self.state.create_node(
ping_interval=30, public_key=public_key_to_bytes(self._node_public_key)
Expand Down

0 comments on commit b4a760d

Please sign in to comment.