Home
last modified time | relevance | path

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

/external/python/oauth2client/tests/
Dtest_client.py2076 def _flow_from_clientsecrets_success_helper(self, loadfile_mock, argument
2088 loadfile_mock.return_value = client_type, client_info
2102 loadfile_mock.assert_called_once_with(filename, cache=cache)
2117 def test_flow_from_clientsecrets_invalid(self, loadfile_mock): argument
2123 loadfile_mock.assert_called_once_with(filename, cache=cache)
2129 loadfile_mock): argument
2137 loadfile_mock.assert_called_once_with(filename, cache=cache)
2143 loadfile_mock): argument
2153 loadfile_mock.assert_called_once_with(filename, cache=cache)
2156 def test_flow_from_clientsecrets_unknown_flow(self, loadfile_mock): argument
[all …]
/external/python/oauth2client/tests/contrib/
Dtest_appengine.py903 with loadfile_patch as loadfile_mock:
904 loadfile_mock.return_value = ('badtype', None)
976 with loadfile_patch as loadfile_mock:
977 loadfile_mock.return_value = (clientsecrets.TYPE_WEB, {