Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ FakeAnswer
Class
FakeAnswer
tests/test_resolver.py:189–191 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
187
188
189
class
FakeAnswer(object):
190
def
__init__(self, expiration):
191
self.expiration = expiration
192
193
194
class
FakeTime:
Callers
6
testLRUReplace
Method · 0.85
testLRUDoesLRU
Method · 0.85
testLRUExpiration
Method · 0.85
test_cache_flush
Method · 0.85
test_LRUCache_overwrite
Method · 0.85
test_cache_stats
Method · 0.85
Calls
no outgoing calls
Tested by
6
testLRUReplace
Method · 0.68
testLRUDoesLRU
Method · 0.68
testLRUExpiration
Method · 0.68
test_cache_flush
Method · 0.68
test_LRUCache_overwrite
Method · 0.68
test_cache_stats
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…