Node runtime assertion
Passes if node_name runtime matches the expected
runtime.
p (Pipeline): The
pipeline.
node_name (String): The node
name.
expected (String): The expected
runtime name (e.g. “R”, “Python”).
Expect_pass if matches; Expect_stop
otherwise.
assert(expect_runtime(p, "model", "Python"))