/external/python/oauth2client/tests/ |
D | test_service_account.py | 266 def test_access_token(self, utcnow): argument 270 utcnow.return_value = NOW 320 self.assertEqual(expected_utcnow_calls, utcnow.mock_calls) 337 self.assertEqual(expected_utcnow_calls, utcnow.mock_calls) 359 self.assertEqual(expected_utcnow_calls, utcnow.mock_calls) 398 def test_get_access_token_no_claims(self, time, utcnow): argument 399 utcnow.return_value = T1_DATE 413 utcnow.return_value = T2_DATE 423 utcnow.return_value = T3_DATE 436 def test_get_access_token_additional_claims(self, time, utcnow): argument [all …]
|
D | test_file.py | 67 token_expiry = expiration or datetime.datetime.utcnow() 117 expiration = (datetime.datetime.utcnow() - 140 expiration = (datetime.datetime.utcnow() + 169 expiration = (datetime.datetime.utcnow() + 184 expiration = (datetime.datetime.utcnow() +
|
D | test_client.py | 880 token_expiry = datetime.datetime.utcnow() 1002 token_expiry = str(datetime.datetime.utcnow()) 1032 token_expiry = str(datetime.datetime.utcnow()) 1067 def test__expires_in_expired(self, utcnow): argument 1070 credentials.token_expiry = datetime.datetime.utcnow() 1073 utcnow.return_value = now 1075 utcnow.assert_called_once_with() 1078 def test__expires_in_not_expired(self, utcnow): argument 1081 credentials.token_expiry = datetime.datetime.utcnow() 1085 utcnow.return_value = now [all …]
|
/external/autotest/client/site_tests/cheets_StartAndroid_P/ |
D | cheets_StartAndroid_P.py | 50 start = datetime.datetime.utcnow() 54 elapsed_time = (datetime.datetime.utcnow() - start
|
/external/autotest/client/site_tests/cheets_StartAndroid/ |
D | cheets_StartAndroid.py | 50 start = datetime.datetime.utcnow() 54 elapsed_time = (datetime.datetime.utcnow() - start
|
/external/python/oauth2client/tests/contrib/ |
D | test_flask_util.py | 85 datetime.datetime.utcnow() + datetime.timedelta(seconds=3600), 353 def test_with_expired_credentials(self, utcnow): argument 354 utcnow.return_value = datetime.datetime(1990, 5, 29) 404 with mock.patch('oauth2client.client._UTCNOW') as utcnow: 405 utcnow.return_value = datetime.datetime(1990, 5, 29) 418 with mock.patch('oauth2client.client._UTCNOW') as utcnow: 419 utcnow.return_value = datetime.datetime(1990, 5, 29)
|
D | test_devshell.py | 211 def test_reads_credentials(self, utcnow): argument 213 utcnow.return_value = NOW 222 utcnow.assert_called_once_with()
|
D | test_multiprocess_file_storage.py | 55 datetime.datetime.utcnow() + datetime.timedelta(seconds=3600)) 308 datetime.datetime.utcnow() - datetime.timedelta(seconds=3600)))
|
D | test_sqlalchemy.py | 50 token_expiry=datetime.datetime.utcnow(),
|
/external/skia/infra/bots/ |
D | utils.py | 30 self._start = datetime.datetime.utcnow() 34 finish = datetime.datetime.utcnow()
|
/external/skqp/infra/bots/ |
D | utils.py | 30 self._start = datetime.datetime.utcnow() 34 finish = datetime.datetime.utcnow()
|
/external/flatbuffers/python/ |
D | setup.py | 38 version = datetime.utcnow().strftime('%Y%m%d%H%M%S')
|
/external/clang/utils/CIndex/ |
D | completion_logger_server.py | 33 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
|
/external/skia/infra/bots/recipes/ |
D | upload_nano_results.py | 23 now = api.time.utcnow()
|
D | upload_buildstats_results.py | 23 now = api.time.utcnow()
|
D | upload_calmbench_results.py | 44 now = api.time.utcnow()
|
D | upload_dm_results.py | 49 now = api.time.utcnow()
|
/external/skqp/infra/bots/recipes/ |
D | upload_buildstats_results.py | 23 now = api.time.utcnow()
|
D | upload_nano_results.py | 23 now = api.time.utcnow()
|
D | upload_calmbench_results.py | 44 now = api.time.utcnow()
|
D | upload_dm_results.py | 49 now = api.time.utcnow()
|
/external/skqp/platform_tools/android/tradefed/ |
D | upload_dm_results.py | 54 now = datetime.datetime.utcnow()
|
/external/skia/platform_tools/android/tradefed/ |
D | upload_dm_results.py | 54 now = datetime.datetime.utcnow()
|
/external/autotest/server/cros/dynamic_suite/ |
D | reporting_unittest.py | 133 def utcnow(cls): member in NewDatetime
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_storage.py | 37 token_expiry = datetime.datetime.utcnow()
|