Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de> Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com> Fixes https://github.com/danielgtaylor/python-betterproto/issues/427 Fixes https://github.com/danielgtaylor/python-betterproto/issues/438
9 lines
213 B
Python
9 lines
213 B
Python
import inspect
|
|
|
|
from tests.output_betterproto.service_uppercase import TestStub
|
|
|
|
|
|
def test_parameters():
|
|
sig = inspect.signature(TestStub.do_thing)
|
|
assert len(sig.parameters) == 5, "Expected 5 parameters"
|