MCPcopy Create free account
hub / github.com/rthalley/dnspython / sleep

Method sleep

tests/test_resolver.py:219–223  ·  view source on GitHub ↗
(self, offset)

Source from the content-addressed store, hash-verified

217 return time.time()
218
219 def sleep(self, offset):
220 if self.want_fake:
221 self.now += offset
222 else:
223 time.sleep(offset)
224
225
226class BaseResolverTests(unittest.TestCase):

Callers 9

threaded_mainFunction · 0.45
run_oneFunction · 0.45
runMethod · 0.45
testCacheExpirationMethod · 0.45
testCacheCleaningMethod · 0.45
testCacheNonCleaningMethod · 0.45
testLRUExpirationMethod · 0.45
handleMethod · 0.45
handle_eventsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected