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

Unified Diff: third_party/twisted_8_1/twisted/test/test_enterprise.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/test/test_enterprise.py
diff --git a/third_party/twisted_8_1/twisted/test/test_enterprise.py b/third_party/twisted_8_1/twisted/test/test_enterprise.py
deleted file mode 100644
index 780c4fb631f02b239564207c17cde778b46f45c8..0000000000000000000000000000000000000000
--- a/third_party/twisted_8_1/twisted/test/test_enterprise.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright (c) 2001-2008 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-"""
-General tests for twisted.enterprise.
-"""
-
-from twisted.trial import unittest
-
-from twisted.enterprise import util
-
-class QuotingTestCase(unittest.TestCase):
-
- def testQuoting(self):
- for value, typ, expected in [
- (12, "integer", "12"),
- ("foo'd", "text", "'foo''d'"),
- ("\x00abc\\s\xFF", "bytea", "'\\\\000abc\\\\\\\\s\\377'"),
- (12, "text", "'12'"),
- (u"123'456", "text", u"'123''456'")
- ]:
- self.assertEquals(
- self.callDeprecated(util._deprecatedVersion, util.quote, value,
- typ),
- expected)
-
-
- def test_safeDeprecation(self):
- """
- L{safe} is deprecated.
- """
- self.callDeprecated(util._deprecatedVersion, util.safe, "foo")
-
-
- def test_getKeyColumnDeprecation(self):
- """
- L{getKeyColumn} is deprecated.
- """
- class Row(object):
- rowKeyColumns = ()
- self.callDeprecated(util._deprecatedVersion, util.getKeyColumn, Row, "foo")
« no previous file with comments | « third_party/twisted_8_1/twisted/test/test_doc.py ('k') | third_party/twisted_8_1/twisted/test/test_epoll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698