Home
last modified time | relevance | path

Searched refs:datetime_strategy (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_client.py262 datetime_strategy=datetime.datetime, auth_uri=None, argument
271 self.datetime_strategy = datetime_strategy
372 token_uri=None, datetime_strategy=datetime.datetime, argument
380 datetime_strategy=datetime_strategy,
391 datetime_strategy=self.datetime_strategy)
399 datetime_strategy=datetime.datetime, argument
418 datetime_strategy=datetime_strategy,
478 token_uri=None, datetime_strategy=datetime.datetime, argument
498 datetime_strategy=datetime_strategy,
537 datetime_strategy=datetime.datetime, argument
[all …]
Dtest_oauth2_client.py55 datetime_strategy): argument
58 token_uri=token_uri, datetime_strategy=datetime_strategy,
69 GetExpiry(self.datetime_strategy, 3600),
70 datetime_strategy=self.datetime_strategy)
77 auth_uri, datetime_strategy): argument
80 datetime_strategy=datetime_strategy,
91 GetExpiry(self.datetime_strategy, 3600),
92 datetime_strategy=self.datetime_strategy)
95 def GetExpiry(datetime_strategy, length_in_seconds): argument
96 token_expiry = (datetime_strategy.utcnow()
[all …]