MCPcopy Index your code
hub / github.com/nodejs/node / test_valid

Method test_valid

test/tools/test_checkimports.py:69–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 output);
68
69 def test_valid(self):
70 with captured_output() as (out, _err):
71 self.assertEqual(is_valid(path.join(self.fixturesDir, 'valid.cc')),
72 True)
73 output = out.getvalue()
74 self.assertEqual(output, '');
75
76if __name__ == '__main__':
77 unittest.main()

Callers

nothing calls this directly

Calls 3

is_validFunction · 0.90
captured_outputFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected