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

Unified Diff: third_party/twisted_8_1/twisted/web/test/test_tap.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/web/test/test_tap.py
diff --git a/third_party/twisted_8_1/twisted/web/test/test_tap.py b/third_party/twisted_8_1/twisted/web/test/test_tap.py
deleted file mode 100644
index 553f9cacffa773879dcb1f9adfdee9dfa90538b7..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/web/test/test_tap.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright (c) 2008 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-"""
-Tests for L{twisted.web.tap}.
-"""
-
-from twisted.trial.unittest import TestCase
-
-from twisted.web.server import Site
-from twisted.web.static import Data
-from twisted.web.distrib import ResourcePublisher
-from twisted.web.tap import makePersonalServerFactory
-
-from twisted.spread.pb import PBServerFactory
-
-
-class ServiceTests(TestCase):
- """
- Tests for the service creation APIs in L{twisted.web.tap}.
- """
- def test_makePersonalServerFactory(self):
- """
- L{makePersonalServerFactory} returns a PB server factory which has
- as its root object a L{ResourcePublisher}.
- """
- # The fact that this pile of objects can actually be used somehow is
- # verified by twisted.web.test.test_distrib.
- site = Site(Data("foo bar", "text/plain"))
- serverFactory = makePersonalServerFactory(site)
- self.assertIsInstance(serverFactory, PBServerFactory)
- self.assertIsInstance(serverFactory.root, ResourcePublisher)
- self.assertIdentical(serverFactory.root.site, site)
« no previous file with comments | « third_party/twisted_8_1/twisted/web/test/test_static.py ('k') | third_party/twisted_8_1/twisted/web/test/test_web.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698