MCPcopy Create free account
hub / github.com/apache/qpid-proton / check_call

Function check_call

python/examples/test_examples.py:49–52  ·  view source on GitHub ↗
(args, **kwargs)

Source from the content-addressed store, hash-verified

47
48
49def check_call(args, **kwargs):
50 # Add the module directory to the path to be able to find the examples
51 path = f"{os.path.dirname(__file__)}{os.pathsep}{os.environ['PATH']}"
52 return subprocess.check_call(args, env={'PATH': path}, **kwargs)
53
54
55class ExamplesTest(unittest.TestCase):

Callers 1

test_db_send_recvMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected