#NEWLINE# def test_unspecifiedRecipients( self ) : #NEWLINE# #INDENT# '\n        If no recipients are given in the argument list and there is no\n        recipient header in the message text, L{parseOptions} raises\n        L{SystemExit} with a string describing the problem.\n        ' #NEWLINE# self . addCleanup ( setattr , sys , 'stdin' , sys . stdin ) #NEWLINE# sys . stdin = StringIO ( 'Subject: foo\n\nHello, goodbye.\n' ) #NEWLINE# exc = self . assertRaises ( SystemExit , parseOptions , [ ] ) #NEWLINE# self . assertEqual ( exc . args , ( 'No recipients specified.' , ) )