Skip to content

Commit

Permalink
fix python
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
  • Loading branch information
d80tb7 committed Sep 28, 2024
1 parent 6500de2 commit f145482
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/python/tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from armada_client.typings import JobState
from armada_client.armada.job_pb2 import JobRunState
from server_mock import EventService, SubmitService, QueryAPIService
from server_mock import EventService, SubmitService, QueryAPIService, QueueService

from armada_client.armada import (
event_pb2_grpc,
Expand All @@ -27,6 +27,7 @@
def server_mock():
server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
submit_pb2_grpc.add_SubmitServicer_to_server(SubmitService(), server)
submit_pb2_grpc.add_QueueServiceServicer_to_server(QueueService(), server)
event_pb2_grpc.add_EventServicer_to_server(EventService(), server)
job_pb2_grpc.add_JobsServicer_to_server(QueryAPIService(), server)
server.add_insecure_port("[::]:50051")
Expand Down

0 comments on commit f145482

Please sign in to comment.