MCPcopy Create free account

hub / github.com/MrS0m30n3/google-translate / functions

Functions572 in github.com/MrS0m30n3/google-translate

Methodtest_load_from_HTTP
(self, mock_get_from_http, mock_append_to_list)
tests/test_useragent_selector.py:106
Methodtest_load_from_HTTP_nomock
(self)
tests/test_useragent_selector.py:194
Methodtest_load_from_file
(self, mock_path_exists, mock_open, mock_decode_string)
tests/test_utils.py:125
Methodtest_load_from_file
(self, mock_load_from_file, mock_append_to_list)
tests/test_useragent_selector.py:80
Methodtest_load_from_file_and_HTTP
(self, mock_load_from_file, mock_get_from_http, mock_append_to_list)
tests/test_useragent_selector.py:135
Methodtest_load_success
(self, mock_get_dict)
tests/test_cache.py:267
Methodtest_load_success_cache_smaller_than_file
(self, mock_get_dict)
tests/test_cache.py:287
Methodtest_make_request
(self, mock_build_opener, mock_proxy_handler)
tests/test_utils.py:166
Methodtest_multiple_from_file
(self, mock_load_from_file, mock_valid_proxy)
tests/test_proxy_selector.py:250
Methodtest_multiple_from_file_overwrite
(self, mock_load_from_file, mock_valid_proxy)
tests/test_proxy_selector.py:272
Methodtest_multiple_ua_overwrite
(self)
tests/test_useragent_selector.py:151
Methodtest_multiple_ua_single_mode
(self, mock_get_useragent)
tests/test_useragent_selector.py:160
Methodtest_parse_reply
(self, mock_ungzip, mock_decode_string)
tests/test_utils.py:218
Methodtest_quote_unicode
(self)
tests/test_utils.py:80
Methodtest_random_selection
(self, mock_rand_choice, mock_get_from_http)
tests/test_useragent_selector.py:171
Methodtest_remove_inputs
(self)
tests/test_proxy_selector.py:99
Methodtest_remove_old
(self, mock_valid_timestamp)
tests/test_cache.py:221
Methodtest_remove_old_empty_cache
(self, mock_valid_timestamp)
tests/test_cache.py:234
Methodtest_remove_reset_counter
(self)
tests/test_proxy_selector.py:194
Methodtest_remove_with_multiple_proxies
(self)
tests/test_proxy_selector.py:123
Methodtest_remove_with_multiple_proxies_fallback_prevention
(self)
tests/test_proxy_selector.py:140
Methodtest_remove_with_multiple_proxies_overwrite
(self)
tests/test_proxy_selector.py:150
Methodtest_remove_with_multiple_proxies_overwrite_fallback_prevention
(self)
tests/test_proxy_selector.py:167
Methodtest_remove_with_single_proxy
(self)
tests/test_proxy_selector.py:116
Methodtest_remove_with_single_proxy_fallback_prevention
(self)
tests/test_proxy_selector.py:133
Methodtest_repr
(self)
tests/test_cache.py:113
Methodtest_romanize
(self, mock_get_info)
tests/test_google_translate.py:764
Methodtest_romanize
(self, mock_do_work, mock_val_lang)
tests/test_google_translate.py:1015
Methodtest_romanize_full
(self)
tests/test_google_translate.py:1030
Methodtest_single_ua_mode
(self)
tests/test_useragent_selector.py:128
Methodtest_size
(self)
tests/test_cache.py:122
Methodtest_split_text_empty_text
(self)
tests/test_utils.py:39
Methodtest_split_text_invalid_maxchunk
(self)
tests/test_utils.py:32
Methodtest_split_text_invalid_text
(self)
tests/test_utils.py:28
Methodtest_split_text_large_text
(self)
tests/test_utils.py:61
Methodtest_split_text_length_greater_than_maxchunk
(self)
tests/test_utils.py:47
Methodtest_split_text_length_smaller_than_maxchunk
(self)
tests/test_utils.py:43
Methodtest_split_text_quoted_text
(self)
tests/test_utils.py:66
Methodtest_store_failure
(self, mock_write_dict)
tests/test_cache.py:257
Methodtest_store_success
(self, mock_write_dict)
tests/test_cache.py:247
Methodtest_string_to_json
(self, mock_json_loads)
tests/test_google_translate.py:241
Methodtest_string_to_json_old
(self, mock_json_loads)
tests/test_google_translate.py:223
Methodtest_translate
(self, mock_get_info)
tests/test_google_translate.py:663
Methodtest_translate
(self, mock_do_work, mock_val_lang)
tests/test_google_translate.py:932
Methodtest_translate_full
(self)
tests/test_google_translate.py:950
Methodtest_try_make_request
(self, mock_make_request, mock_wait, mock_get_proxy, mock_get_headers)
tests/test_google_translate.py:516
Methodtest_try_make_request_remove_proxy
(self, mock_make_request, mock_wait, mock_get_proxy)
tests/test_google_translate.py:500
Methodtest_ungzip_stream
(self, mock_stringio, mock_gzipfile)
tests/test_utils.py:148
Methodtest_unquote_unicode
(self)
tests/test_utils.py:91
Methodtest_user_specified_proxy
(self, mock_load_from_file, mock_valid_proxy)
tests/test_proxy_selector.py:243
Methodtest_user_specified_ua
(self)
tests/test_useragent_selector.py:68
Methodtest_valid_timestamp_false
(self, mock_time)
tests/test_cache.py:58
Methodtest_valid_timestamp_true
(self, mock_time)
tests/test_cache.py:43
Methodtest_validate_language
(self)
tests/test_google_translate.py:623
Methodtest_validate_word
(self, mock_quote_unicode)
tests/test_google_translate.py:645
Methodtest_wait
(self, mock_sleep, mock_rand_uniform)
tests/test_google_translate.py:208
Methodtest_word_exists
(self, mock_get_info)
tests/test_google_translate.py:805
Methodtest_write_dict_failure_on_makedirs
(self, mock_makedirs, mock_dirname, mock_isdir)
tests/test_utils.py:304
Methodtest_write_dict_failure_on_open
(self, mock_dirname, mock_open)
tests/test_utils.py:293
Methodtest_write_dict_invalid_dictionary
(self)
tests/test_utils.py:317
Methodtest_write_dict_invalid_filename
(self)
tests/test_utils.py:314
Methodtest_write_dict_success_no_dirname
(self, mock_dirname, mock_jdump, mock_open)
tests/test_utils.py:253
Methodtest_write_dict_success_path_exists
(self, mock_dirname, mock_isdir, mock_jdump, mock_open)
tests/test_utils.py:265
Methodtest_write_dict_success_path_not_exists
(self, mock_makedirs, mock_dirname, mock_isdir, mock_jdump, mock_open)
tests/test_utils.py:280
Functiontick
()
docs/docs/_static/jquery-1.11.1.js:7291
Functiontick
()
docs/docs/_static/jquery-3.1.0.js:6907
FunctionunloadHandler
()
docs/docs/_static/jquery-3.1.0.js:720
Functionunquote_unicode
urllib2.unquote wrapper to handle unicode items.
google_translate/utils.py:247
Functionv
(a,b)
docs/docs/_static/jquery.js:2
Methodvalid_period
(self)
google_translate/cache.py:84
Functionwrapper
(obj)
docs/docs/_static/underscore-1.3.1.js:946
Functionz
(b)
docs/docs/_static/js/modernizr.min.js:4
← previous501–572 of 572, ranked by callers