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

Method test_invalid_option_fails

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

Source from the content-addressed store, hash-verified

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)
113 self.assertNotEqual(result.returncode, 0)
114
115
116if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

strClass · 0.85
runMethod · 0.45

Tested by

no test coverage detected