MCPcopy Index your code
hub / github.com/pathwaycom/pathway / test_function_call

Function test_function_call

python/pathway/tests/test_yaml.py:48–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def test_function_call():
49 yaml_config = """
50foo: !pw.tests.test_yaml.baz
51 a: 1
52 b: 2
53 c: bar
54"""
55
56 d = load_yaml(yaml_config)
57 assert "foo" in d.keys()
58 assert len(d.keys()) == 1
59 assert d["foo"] == Foo(1, 2, "bar")
60
61
62def test_variables():

Callers

nothing calls this directly

Calls 3

load_yamlFunction · 0.90
FooClass · 0.85
keysMethod · 0.45

Tested by

no test coverage detected