Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ time
Method
time
tests/test_resolver.py:213–217 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
211
return
False
212
213
def
time(self):
214
if
self.want_fake:
215
return
self.now
216
else
:
217
return
time.time()
218
219
def
sleep(self, offset):
220
if
self.want_fake:
Callers
15
add_tsig
Method · 0.80
add_multi_tsig
Method · 0.80
ddr_tls_check_sync
Method · 0.80
ddr_tls_check_async
Method · 0.80
_validate_rrsig
Function · 0.80
_sign
Function · 0.80
resolve
Method · 0.80
resolve_name
Method · 0.80
try_ddr
Method · 0.80
_timeout
Function · 0.80
send_udp
Function · 0.80
receive_udp
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected