def test_apiBuilderScriptMain(self):
        script = BuildAPIDocsScript()
        calls = []
        script.buildAPIDocs = lambda a, b: calls.append((a, b))
        script.main(["hello", "there"])
        self.assertEqual(calls, [(FilePath("hello"), FilePath("there"))])
The API building script invokes the same code that
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/APIBuilderTests.test_apiBuilderScriptMain