MCPcopy 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_tsigMethod · 0.80
add_multi_tsigMethod · 0.80
ddr_tls_check_syncMethod · 0.80
ddr_tls_check_asyncMethod · 0.80
_validate_rrsigFunction · 0.80
_signFunction · 0.80
resolveMethod · 0.80
resolve_nameMethod · 0.80
try_ddrMethod · 0.80
_timeoutFunction · 0.80
send_udpFunction · 0.80
receive_udpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected