Home
last modified time | relevance | path

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

/test/framework/harnesses/host_controller/build/
Dbuild_provider_pab_test.py43 def testAuthenticationNew(self, mock_creds, mock_storage_get, mock_rf, argument
45 mock_creds.invalid = True
57 def testAuthenticationStale(self, mock_creds, mock_storage_get, mock_rf, argument
59 mock_creds.invalid = False
60 mock_creds.access_token_expired = True
63 mock_storage_get.return_value = mock_creds
68 mock_creds.refresh.assert_called_once()
74 def testAuthenticationFresh(self, mock_creds, mock_storage_get, mock_rf, argument
76 mock_creds.invalid = False
77 mock_creds.access_token_expired = False
[all …]