MCPcopy
hub / github.com/pre-commit/pre-commit / test_healthy_system_node

Function test_healthy_system_node

tests/languages/node_test.py:62–67  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

60
61@xfailif_windows # pragma: win32 no cover
62def test_healthy_system_node(tmpdir):
63 tmpdir.join('package.json').write('{"name": "t", "version": "1.0.0"}')
64
65 prefix = Prefix(str(tmpdir))
66 node.install_environment(prefix, 'system', ())
67 assert node.health_check(prefix, 'system') is None
68
69
70@xfailif_windows # pragma: win32 no cover

Callers

nothing calls this directly

Calls 3

PrefixClass · 0.90
install_environmentMethod · 0.80
health_checkMethod · 0.80

Tested by

no test coverage detected