Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: third_party/twisted_8_1/twisted/mail/test/test_options.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/twisted_8_1/twisted/mail/test/test_options.py
diff --git a/third_party/twisted_8_1/twisted/mail/test/test_options.py b/third_party/twisted_8_1/twisted/mail/test/test_options.py
deleted file mode 100644
index 65c360b4752273384f68204c4ee3cc33c0d52bf9..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/mail/test/test_options.py
+++ /dev/null
@@ -1,38 +0,0 @@
-
-from twisted.trial.unittest import TestCase
-
-from twisted.python.usage import UsageError
-from twisted.mail.tap import Options
-
-
-class OptionsTestCase(TestCase):
- """
- Tests for the command line option parser used for C{mktap mail}.
- """
- def setUp(self):
- self.aliasFilename = self.mktemp()
- aliasFile = file(self.aliasFilename, 'w')
- aliasFile.write('someuser:\tdifferentuser\n')
- aliasFile.close()
-
-
- def testAliasesWithoutDomain(self):
- """
- Test that adding an aliases(5) file before adding a domain raises a
- UsageError.
- """
- self.assertRaises(
- UsageError,
- Options().parseOptions,
- ['--aliases', self.aliasFilename])
-
-
- def testAliases(self):
- """
- Test that adding an aliases(5) file to an IAliasableDomain at least
- doesn't raise an unhandled exception.
- """
- Options().parseOptions([
- '--maildirdbmdomain', 'example.com=example.com',
- '--aliases', self.aliasFilename])
-
« no previous file with comments | « third_party/twisted_8_1/twisted/mail/test/test_mail.py ('k') | third_party/twisted_8_1/twisted/mail/test/test_pop3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698