test_scripts.py 431 B

123456789101112131415161718
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. """
  4. Tests for the command-line mailer tool provided by Twisted Mail.
  5. """
  6. from twisted.trial.unittest import TestCase
  7. from twisted.scripts.test.test_scripts import ScriptTestsMixin
  8. class ScriptTests(TestCase, ScriptTestsMixin):
  9. """
  10. Tests for all one of mail's scripts.
  11. """
  12. def test_mailmail(self):
  13. self.scriptTest("mail/mailmail")