Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tribler/tribler
/ functions
Functions
1,819 in github.com/Tribler/tribler
⨍
Functions
1,819
◇
Types & classes
310
↳
Endpoints
21
Method
test_torrent_checked_alert_pause_checkpoint
Test if both a pause and a checkpoint happens if the download state is such.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:482
Method
test_torrent_checked_alert_pause_no_checkpoint
Test if a pause but no checkpoint happens if the download state is such.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:464
Method
test_torrent_info_format
Test if HealthFormat initializes correctly.
src/tribler/test_unit/core/content_discovery/test_payload.py:31
Method
test_torrent_rank__no_freshness
Test if no freshness is worse than any freshness.
src/tribler/test_unit/core/database/test_ranks.py:84
Method
test_torrent_rank_exact_match
Test if an exact title match leads to a score of exactly 0.81. This is 90% (no seeders/leechers) of 90% (no freshness) of an exact m
src/tribler/test_unit/core/database/test_ranks.py:76
Method
test_torrent_rank_freshness
Test if recent freshness is better than old freshness.
src/tribler/test_unit/core/database/test_ranks.py:93
Method
test_torrent_rank_intermediate
Test if word matches are preferred with less words in between.
src/tribler/test_unit/core/database/test_ranks.py:117
Method
test_torrent_rank_mis_position_many
Test if word group matches are preferred with mismatches further on in the item.
src/tribler/test_unit/core/database/test_ranks.py:139
Method
test_torrent_rank_mis_position_one
Test if word matches are preferred with mismatches further on in the item.
src/tribler/test_unit/core/database/test_ranks.py:130
Method
test_torrent_rank_miss
Test if missed words in the title imposes a penalty to the rank.
src/tribler/test_unit/core/database/test_ranks.py:157
Method
test_torrent_rank_position
Test if word matches are preferred close to the start.
src/tribler/test_unit/core/database/test_ranks.py:102
Method
test_torrent_rank_reorder
Test if wrong order of words in the title imposes a penalty to the rank.
src/tribler/test_unit/core/database/test_ranks.py:148
Method
test_torrents_health_gossip
Test whether torrent health information is periodically gossiped around.
src/tribler/test_unit/core/content_discovery/test_community.py:90
Method
test_torrents_health_gossip_no_checker
Test whether no torrent health information is spread without a torrent checker.
src/tribler/test_unit/core/content_discovery/test_community.py:98
Method
test_torrents_health_gossip_no_live
Test whether torrent health information is spread when no live torrents are known.
src/tribler/test_unit/core/content_discovery/test_community.py:108
Method
test_torrents_health_payload_empty
Test if HealthPayload initializes correctly without health info.
src/tribler/test_unit/core/content_discovery/test_payload.py:43
Method
test_torrents_health_payload_many
Test if HealthPayload initializes correctly with more health info.
src/tribler/test_unit/core/content_discovery/test_payload.py:68
Method
test_torrents_health_payload_one_random
Test if HealthPayload initializes correctly with one random health info.
src/tribler/test_unit/core/content_discovery/test_payload.py:53
Method
test_tracker_force_announce
Test if trackers can be force announced.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1082
Method
test_tracker_force_announce_handle_error
Test if force-announcing a tracker fails when a libtorrent internal error occurs.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1128
Method
test_tracker_force_announce_no_download
Test if force-announcing a tracker fails when no download is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1102
Method
test_tracker_force_announce_no_url
Test if force-announcing a tracker fails when no tracker url is given.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1114
Method
test_tracker_no_infohashes
Test if the check of a tracker without associated torrents leads to no result.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:232
Method
test_tracker_reply_alert
Test if the tracker status is extracted from a reply alert.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:500
Method
test_tracker_test_error_resolve
Test if we capture the error when a tracker check fails.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:215
Method
test_tracker_warning_alert
Test if a tracking warning alert is processed correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:401
Method
test_udp_connection_lost
Test if the tranport is set to None when a UDP connection is lost.
src/tribler/test_unit/core/socks5/test_client.py:82
Method
test_udpsession_cancel_operation
Test if a canceled task is propagated through the UDP session.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:167
Method
test_udpsession_correct_handle
Test if correct connect and scrape responses do not lead to a failed session.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:302
Method
test_udpsession_handle_connection_wrong_action_transaction
Test if a wrong action response leads to a ValueError when scraping.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:209
Method
test_udpsession_handle_packet
Test if a normal UDP packet leads to a non-failed UDP session.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:222
Method
test_udpsession_handle_response_wrong_len
Test if, after receiving a correct packet, a session should still be in a failed state.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:179
Method
test_udpsession_handle_wrong_action_transaction
Test if a wrong action leads to ValueError when connecting.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:235
Method
test_udpsession_mismatch
Test if a UDP session mismatch leads to a ValueError when scraping.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:248
Method
test_udpsession_no_port
Test if a UDP session without a port raises a ValueError when connecting.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:196
Method
test_udpsession_response_list_len_mismatch
Test if a response with a wrong size leads to a ValueError when scraping.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:288
Method
test_udpsession_response_too_short
Test if truncated response leads to a ValueError when scraping.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:262
Method
test_udpsession_response_wrong_transaction_id
Test if a response with a wrong transaction id leads to a ValueError when scraping.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:275
Method
test_unshorten_non_http_https
Test if URLs with non-HTTP(s) schemes are not followed.
src/tribler/test_unit/core/libtorrent/test_uris.py:106
Method
test_unshorten_non_redirect
Test if following URLs that are not redirected are ignored.
src/tribler/test_unit/core/libtorrent/test_uris.py:116
Method
test_unshorten_redirect
Test if following URLs that are properly redirected are followed.
src/tribler/test_unit/core/libtorrent/test_uris.py:150
Method
test_unshorten_redirect_no_location
Test if following URLs that are redirected but specify no location are ignored.
src/tribler/test_unit/core/libtorrent/test_uris.py:133
Method
test_update_download_anon_hops_garbage
Test if anon hops can only exist as the only parameter.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:538
Method
test_update_download_anon_hops_update
Test if anon hops can be updated.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:551
Method
test_update_download_anon_hops_update_failed
Test if a graceful error is returned when updating the anon hops failed.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:567
Method
test_update_download_no_download
Test if a graceful error is returned when no download is found to update.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:525
Method
test_update_download_nothing
Test if a download can be updated with nothing.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:719
Method
test_update_download_selected_files
Test if the selected files of a download can be updated.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:600
Method
test_update_download_selected_files_out_of_range
Test if a graceful error is returned when the selected files are out of range.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:583
Method
test_update_download_state_move_storage
Test if a download can be set to the move_storage state.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:698
Method
test_update_download_state_move_storage_no_dest_dir
Test if a graceful error is returned when no dest dir is specified when setting the move storage state.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:683
Method
test_update_download_state_recheck
Test if a download can be set to the recheck state.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:665
Method
test_update_download_state_resume
Test if a download can be set to the resume state.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:631
Method
test_update_download_state_stop
Test if a download can be set to the stopped state.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:648
Method
test_update_download_unknown_state
Test if a graceful error is returned when a download is set to an unknown state.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:617
Method
test_update_health
Test if torrent health can be updated.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:257
Method
test_update_priorities_all_missing
Test if priorities are set to retrieve missing pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:249
Method
test_update_priorities_offset_buffer
Test if priorities are set correctly if the buffer has an offset > 0.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:288
Method
test_update_priorities_single_missing
Test if priorities are set to retrieve a missing piece.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:262
Method
test_update_priorities_sparse
Test if priorities can be updated for sparesely retrieved pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:275
Method
test_update_settings
Test if settings can be changed.
src/tribler/test_unit/core/restapi/test_settings_endpoint.py:48
Method
test_update_settings_download_manager
Test if a registered download manager is notified of a settings update.
src/tribler/test_unit/core/restapi/test_settings_endpoint.py:62
Method
test_update_tags_empty
Test if a tags can be set when none exist yet.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:363
Method
test_update_tags_existing
Test if a tags can be overwritten.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:378
Method
test_update_torrent
Test updating a torrent when a circuit breaks.
src/tribler/test_unit/core/tunnel/test_community.py:272
Method
test_update_torrent_health_invalid_health
Tests if invalid health is ignored in TorrentChecker.update_torrent_health().
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:300
Method
test_update_torrent_health_no_replace
Tests if the TorrentChecker.notify() method is called even if the new health does not replace the old health.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:324
Method
test_update_torrent_health_not_self_checked
Tests if non-self-checked health is ignored in TorrentChecker.update_torrent_health().
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:308
Method
test_update_torrent_health_unknown_torrent
Tests if unknown torrent's health is ignored in TorrentChecker.update_torrent_health().
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:316
Method
test_update_tracker_info_failed
Test if the tracker info update failure is correctly updated.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:78
Method
test_update_tracker_info_non_existent
Test if a non-existent tracker's info is not updated.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:70
Method
test_update_tracker_info_success
Test if the tracker info update success is correctly updated.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:89
Method
test_update_trackers
Test if trackers can be updated for an existing download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:575
Method
test_update_trackers_list
Test if multiple trackers are correctly added as an announce list instead of a the singular announce.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:587
Method
test_update_trackers_list_append
Test if trackers can be updated in sequence.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:600
Method
test_url_to_path_posix_file
Test if normal POSIX file URLs can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:52
Method
test_url_to_path_posix_file_absolute
Test if POSIX file URLs starting at root can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:88
Method
test_url_to_path_posix_file_host
Test if POSIX file URLs starting at a host can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:97
Method
test_url_to_path_posix_file_with_double_slash
Test if POSIX file URLs with double slashes can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:79
Method
test_url_to_path_posix_file_with_space
Test if POSIX file URLs with spaces can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:61
Method
test_url_to_path_posix_file_with_special_chars
Test if POSIX file URLs with special characters can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:70
Method
test_url_to_path_unc
Test if UNC URLs can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:16
Method
test_url_to_path_win_path
Test if normal Windows file URLs can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:25
Method
test_url_to_path_win_path_with_spaces
Test if Windows file URLs with spaces can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:34
Method
test_url_to_path_win_path_with_special_chars
Test if Windows file URLs with special characters can be converted to Paths.
src/tribler/test_unit/core/libtorrent/test_uris.py:43
Method
test_valid_url
Test if a UDP URL is valid.
src/tribler/test_unit/core/libtorrent/test_trackers.py:326
Method
test_valid_url_invalid_with_space
Test if a URL with a space is invalid.
src/tribler/test_unit/core/libtorrent/test_trackers.py:302
Method
test_valid_url_localhost
Test if a localhost URL is valid.
src/tribler/test_unit/core/libtorrent/test_trackers.py:318
Method
test_valid_url_wild
Test if a normal dotcom URL is valid.
src/tribler/test_unit/core/libtorrent/test_trackers.py:310
Method
test_version_request
Test if VersionRequest initializes correctly.
src/tribler/test_unit/core/content_discovery/test_payload.py:104
Method
test_version_response
Test if VersionResponse initializes correctly.
src/tribler/test_unit/core/content_discovery/test_payload.py:112
Method
test_versions
Check if the known versions are correctly returned.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:40
Method
test_watch_folder_invalid_dir
Test that the watch folder is disabled when the directory is invalid.
src/tribler/test_unit/core/watch_folder/test_manager.py:48
Method
test_watch_folder_no_crash_exception
Test that errors raised during processing do not crash us.
src/tribler/test_unit/core/watch_folder/test_manager.py:150
Method
test_watch_folder_no_files
Test that in the case of an empty folder, downloads are not started.
src/tribler/test_unit/core/watch_folder/test_manager.py:59
Method
test_watch_folder_no_torrent_file
Test that in the case of a folder without torrents, downloads are not started.
src/tribler/test_unit/core/watch_folder/test_manager.py:74
Method
test_watch_folder_not_dir
Test that the watch folder is disabled when the "directory" setting is not a directory.
src/tribler/test_unit/core/watch_folder/test_manager.py:37
Method
test_watch_folder_torrent_file_start_download
Test that in the case of presence of a torrent file, a download is started.
src/tribler/test_unit/core/watch_folder/test_manager.py:88
Method
test_watch_folder_torrent_file_start_download_existing
Test that in the case of presence of a torrent file, a download is started twice.
src/tribler/test_unit/core/watch_folder/test_manager.py:130
Method
test_watch_folder_torrent_file_start_magnet
Test that in the case of presence of a magnet file, a download is started.
src/tribler/test_unit/core/watch_folder/test_manager.py:109
← previous
next →
1,701–1,800 of 1,819, ranked by callers