MCPcopy Index your code
hub / github.com/pre-commit/pre-commit-hooks / test_main

Function test_main

tests/check_xml_test.py:15–17  ·  view source on GitHub ↗
(filename, expected_retval)

Source from the content-addressed store, hash-verified

13 ),
14)
15def test_main(filename, expected_retval):
16 ret = main([get_resource_path(filename)])
17 assert ret == expected_retval

Callers

nothing calls this directly

Calls 2

mainFunction · 0.90
get_resource_pathFunction · 0.90

Tested by

no test coverage detected