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

Side by Side Diff: third_party/twisted_8_1/twisted/names/test/test_cache.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2006 Twisted Matrix Laboratories.
2 # See LICENSE for details.
3
4 import time
5
6 from twisted.trial import unittest
7
8 from twisted.names import dns, cache
9
10 class Caching(unittest.TestCase):
11 def testLookup(self):
12 c = cache.CacheResolver({
13 dns.Query(name='example.com', type=dns.MX, cls=dns.IN): (time.time() , ([], [], []))})
14 return c.lookupMailExchange('example.com').addCallback(self.assertEquals , ([], [], []))
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/names/test/__init__.py ('k') | third_party/twisted_8_1/twisted/names/test/test_client.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698