MCPcopy Index your code
hub / github.com/StackStorm/st2 / test_file

Function test_file

pants-plugins/pack_metadata/python_rules/conftest.py:111–118  ·  view source on GitHub ↗
(module: str, _object: str)

Source from the content-addressed store, hash-verified

109 )
110
111 def test_file(module: str, _object: str) -> str:
112 return dedent(
113 f"""
114 from {module} import {_object}
115 def test_{module.replace(".", "_")}() -> None:
116 pass
117 """
118 )
119
120 rule_runner.write_files(
121 {

Callers 1

write_test_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected