<s> """<STR_LIT>""" <EOL> import sys <EOL> from StringIO import StringIO <EOL> from twisted . trial . unittest import TestCase <EOL> from twisted . mail . scripts . mailmail import parseOptions <EOL> class OptionsTests ( TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_unspecifiedRecipients ( self ) : <EOL> """<STR_LIT>""" <EOL> self . addCleanup ( setattr , sys , '<STR_LIT>' , sys . stdin ) <EOL> sys . stdin = StringIO ( <EOL> '<STR_LIT>' <EOL> '<STR_LIT:\n>' <EOL> '<STR_LIT>' ) <EOL> exc = self . assertRaises ( SystemExit , parseOptions , [ ] ) <EOL> self . assertEqual ( exc . args , ( '<STR_LIT>' , ) ) <EOL> def test_listQueueInformation ( self ) : <EOL> """<STR_LIT>""" <EOL> exc = self . assertRaises ( SystemExit , parseOptions , [ '<STR_LIT>' ] ) <EOL> self . assertEqual ( exc . args , ( "<STR_LIT>" , ) ) <EOL> def test_stdioTransport ( self ) : <EOL> """<STR_LIT>""" <EOL> exc = self . assertRaises ( SystemExit , parseOptions , [ '<STR_LIT>' ] ) <EOL> self . assertEqual ( exc . args , ( "<STR_LIT>" , ) ) <EOL> def test_ignoreFullStop ( self ) : <EOL> """<STR_LIT>""" <EOL> exc = self . assertRaises ( SystemExit , parseOptions , [ '<STR_LIT>' ] ) <EOL> self . assertEqual ( exc . args , ( "<STR_LIT>" , ) ) <EOL> exc = self . assertRaises ( SystemExit , parseOptions , [ '<STR_LIT>' ] ) <EOL> self . assertEqual ( exc . args , ( "<STR_LIT>" , ) ) <EOL> def test_copyAliasedSender ( self ) : <EOL> """<STR_LIT>""" <EOL> exc = self . assertRaises ( SystemExit , parseOptions , [ '<STR_LIT>' ] ) <EOL> self . assertEqual ( exc . args , ( "<STR_LIT>" , ) ) </s>
