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

Method test_output_modes

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

Source from the content-addressed store, hash-verified

92 )
93
94 def test_output_modes(self):
95 numbered = self.render("numbered", "-n")
96 self.assertIn("pkg/header.h.html", Links(numbered / "main.cpp.html").urls)
97 printable = self.render("printable", "-b")
98 self.assertEqual(Links(printable / "main.cpp.html").urls, [])
99 combined = self.root / "combined.html"
100 self.run_htmlify("--cat", combined, "-i", self.source, "-I", self.source)
101 self.assertEqual(Links(combined).urls, [])
102
103 def test_flattened_output(self):
104 output = self.root / "flat"

Callers

nothing calls this directly

Calls 3

renderMethod · 0.95
run_htmlifyMethod · 0.95
LinksClass · 0.85

Tested by

no test coverage detected