'SystemExit is raised when the incorrect number of command line
arguments are passed to the API building script.'

def test_apiBuilderScriptMainRequiresTwoArguments(self):

    script = BuildAPIDocsScript()
    self.assertRaises(SystemExit, script.main, [])
    self.assertRaises(SystemExit, script.main, ['foo'])
    self.assertRaises(SystemExit, script.main, ['foo', 'bar', 'baz'])
