MCPcopy Create free account
hub / github.com/davisking/dlib / test_flattened_output

Method test_flattened_output

tools/htmlify/test_htmlify.py:103–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 self.assertEqual(Links(combined).urls, [])
102
103 def test_flattened_output(self):
104 output = self.root / "flat"
105 self.run_htmlify(
106 "-i", self.source / "pkg", "--flatten", "-o", output,
107 "-I", self.source, self.main,
108 )
109 self.assertEqual(Links(output / "main.cpp.html").urls, ["header.h.html"])
110
111 def test_invalid_option_fails(self):
112 result = subprocess.run([str(BINARY), "--not-a-real-option"], capture_output=True)

Callers

nothing calls this directly

Calls 2

run_htmlifyMethod · 0.95
LinksClass · 0.85

Tested by

no test coverage detected