Skip to content

Commit 0d033e1

Browse files
committed
test(s) added
1 parent 2e63d5e commit 0d033e1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/integration/test_server.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,17 @@ def test_pb_entire_workflow(myflow):
7979
assert data.workflow.id == myflow.id
8080

8181

82+
def test_pb_workflow_only(myflow):
83+
"""Test Protobuf workflow only endpoint method."""
84+
data = PB_METHOD_MAP['pb_workflow_only']()
85+
data.ParseFromString(
86+
call_server_method(
87+
myflow.server.pb_workflow_only
88+
)
89+
)
90+
assert data.workflow.id == myflow.id
91+
92+
8293
async def test_stop(one: Scheduler, start):
8394
"""Test stop."""
8495
async with start(one):

0 commit comments

Comments
 (0)