MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / now

Method now

tests/Requester.py:576–577  ·  view source on GitHub ↗
(self, tz=None)

Source from the content-addressed store, hash-verified

574 self.mock_time[0] = self.mock_time[0] + timedelta(seconds=seconds)
575
576 def now(self, tz=None):
577 return self.mock_time[0]
578
579 @contextlib.contextmanager
580 def mock_sleep(self):

Callers 10

_is_expiredMethod · 0.80
_is_expiredMethod · 0.80
_refreshMethod · 0.80
_useAttributesMethod · 0.80
__deferRequestMethod · 0.80
__recordRequestTimeMethod · 0.80
incrementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected