#NEWLINE# def test_apiBuilderScriptMainRequiresTwoArguments( self ) : #NEWLINE# #INDENT# '\n        SystemExit is raised when the incorrect number of command line\n        arguments are passed to the API building script.\n        ' #NEWLINE# script = BuildAPIDocsScript ( ) #NEWLINE# self . assertRaises ( SystemExit , self . main , [ ] ) #NEWLINE# self . assertRaises ( SystemExit , script . main , [ 'foo' ] ) #NEWLINE# self . assertRaises ( SystemExit , script . main , [ 'foo' , 'bar' , 'baz' ] )