Skip to content

Commit

Permalink
test(s) added
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsutherland committed May 30, 2024
1 parent 2e63d5e commit 0d033e1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/integration/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ def test_pb_entire_workflow(myflow):
assert data.workflow.id == myflow.id


def test_pb_workflow_only(myflow):
"""Test Protobuf workflow only endpoint method."""
data = PB_METHOD_MAP['pb_workflow_only']()
data.ParseFromString(
call_server_method(
myflow.server.pb_workflow_only
)
)
assert data.workflow.id == myflow.id


async def test_stop(one: Scheduler, start):
"""Test stop."""
async with start(one):
Expand Down

0 comments on commit 0d033e1

Please sign in to comment.