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_add_download_progress_to_metadata_list_metainfo_requests
Test if progress is not added to an existing metadata dict if it is in metainfo_requests.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:129
Method
test_add_download_progress_to_metadata_list_none
Test if progress is not added to an existing metadata dict if no download exists.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:118
Method
test_add_download_unsafe_anon_error
Test if a graceful error is returned when safe seeding is not enabled in anonymous mode.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:306
Method
test_add_download_with_default_trackers
Test if the default trackers are added when adding a download.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:401
Method
test_add_download_with_default_trackers_bad_file
Test if a bad trackers file is simply ignored.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:382
Method
test_add_download_with_default_trackers_no_private
Test if the default trackers are not added to private torrents.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:427
Method
test_add_endpoint
Test if endpoints can be added to the RESTManager and retrieved again.
src/tribler/test_unit/core/restapi/test_rest_manager.py:164
Method
test_add_observer
Test if an observer can be added and if it gets notified.
src/tribler/test_unit/core/test_notifier.py:20
Method
test_add_tag
Test if a tag can be added when no tags are present.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:273
Method
test_add_tag_append
Test if a tag can be added when tags are present.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:288
Method
test_add_tag_bad_query
Test if a bad value leads to a bad request status.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:261
Method
test_add_tracker
Test if trackers can be added to a download.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:866
Method
test_add_tracker_handle_error
Test if adding a tracker fails when a libtorrent internal error occurs.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:911
Method
test_add_tracker_invalid
Test if adding an invalid tracker works correctly.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:45
Method
test_add_tracker_no_download
Test if adding a tracker fails when no download is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:886
Method
test_add_tracker_no_url
Test if adding a tracker fails when no tracker url is given.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:898
Method
test_add_tracker_valid
Test if adding a valid tracker works correctly.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:53
Method
test_add_trackers
Test if trackers are added to the libtorrent handle.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:349
Method
test_add_url_param_clean
Test if adding parameters to a URL works.
src/tribler/test_unit/core/libtorrent/test_trackers.py:290
Method
test_add_url_param_some_present
Test if appending parameters to a URL works.
src/tribler/test_unit/core/libtorrent/test_trackers.py:278
Method
test_adv_rate_limits_interp_correct_time
Check if the exact set rate limit is achieved at the exact time.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:812
Method
test_adv_rate_limits_interp_middle_time
Check if the rate limit is interpolated between two set times.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:829
Method
test_adv_rate_limits_interp_middle_time_midnight_spillover
Check if the rate limit is interpolated between two set times if they go over the 24 hour mark.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:847
Method
test_all_time_ratio
Test if the all-time ratio is the fraction of the all-time up and down.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:97
Method
test_all_time_ratio_no_all_time_download
Test if the all-time ratio is 0 when the all-time up and down are both 0.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:106
Method
test_all_time_ratio_no_all_time_download_inf
Test if the all-time ratio is 0 when the all-time download is 0.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:115
Method
test_all_time_ratio_no_lt_status
Test if the all-time ratio is 0 when the libtorrent status is None.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:89
Method
test_anon_download
Test a plain anonymous download with an exit node.
src/tribler/test_integration/test_anon_download.py:228
Method
test_associate_udp
Test if a client can associate through UDP.
src/tribler/test_unit/core/socks5/test_client.py:94
Method
test_auto_convert_torrent_date
Test if TorrentMetadataPayload automatically converts its torrent date from int to datetime.
src/tribler/test_unit/core/database/test_serialization.py:136
Method
test_backup_exitnodes
Check if exitnodes are serialized and deserialized to and from disk properly.
src/tribler/test_unit/core/tunnel/test_community.py:103
Method
test_big_correct_run
Test if correct connect and scrape responses with infohashes do not lead to a failed session.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:319
Method
test_binding
Test if all the IPv8 endpoint paths exist.
src/tribler/test_unit/core/restapi/test_ipv8_endpoint.py:13
Method
test_bytes_to_pieces
Test if we can get the pieces from byte indices.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:233
Method
test_cache_exitnodes_to_disk
Test if we can cache exit nodes to disk.
src/tribler/test_unit/core/tunnel/test_community.py:302
Method
test_cache_exitnodes_to_disk_os_error
Test if we can handle an OSError when caching exit nodes to disk and raise no errors.
src/tribler/test_unit/core/tunnel/test_community.py:311
Method
test_can_upgrade
Check if the ability to upgrade is correctly returned.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:95
Method
test_can_upgrade_no
Check if the inability to upgrade is correctly returned.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:82
Method
test_can_upgrade_to_current
Check if we can upgrade to the currently supported version.
src/tribler/test_unit/core/versioning/test_manager.py:156
Method
test_can_upgrade_to_current_soft
Check if we can upgrade to the currently supported soft version. For example, the database directory may be (hard) version ``8.0`` a
src/tribler/test_unit/core/versioning/test_manager.py:166
Method
test_can_upgrade_to_git
Check if we can upgrade to the git version.
src/tribler/test_unit/core/versioning/test_manager.py:181
Method
test_can_upgrade_to_unsupported
Check if we cannot upgrade to an unsupported version.
src/tribler/test_unit/core/versioning/test_manager.py:146
Method
test_can_upgrade_unsupported
Check if we cannot upgrade from an unsupported version.
src/tribler/test_unit/core/versioning/test_manager.py:137
Method
test_can_upgrade_upgraded
Check if we cannot upgrade an already upgraded version.
src/tribler/test_unit/core/versioning/test_manager.py:130
Method
test_check_200
Test if a check schedules an RSS parsing of an HTTP 200 response.
src/tribler/test_unit/core/rss/test_rss.py:107
Method
test_check_304
Test if a check does not schedule RSS parsing after an HTTP 304 response.
src/tribler/test_unit/core/rss/test_rss.py:125
Method
test_check_connect_error
Test if a check can deal with connection errors to trackers.
src/tribler/test_unit/core/rss/test_rss.py:143
Method
test_check_handle_default_invalid_handle
Test if the default value is returned for invalid handles.
src/tribler/test_unit/core/libtorrent/test_torrents.py:50
Method
test_check_handle_default_missing_handle
Test if the default value is returned for missing handles.
src/tribler/test_unit/core/libtorrent/test_torrents.py:41
Method
test_check_handle_default_valid_handle
Test if the given method is called for valid handles.
src/tribler/test_unit/core/libtorrent/test_torrents.py:60
Method
test_check_local_torrents
Test if the random torrent health checking mechanism picks the right torrents.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:277
Method
test_check_random_tracker_not_alive
Test if we correctly update the tracker state when the number of failures is too large.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:182
Method
test_check_random_tracker_shutdown
Test if we are not performing a tracker check when we are shutting down.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:172
Method
test_check_version_available
Check if the checked version is correctly returned when a version is available.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:54
Method
test_check_version_latest
Check if None is returned when we are already at the latest version.
src/tribler/test_unit/core/versioning/test_manager.py:76
Method
test_check_version_latest_old
Check if None is returned when we are already at the latest version, in old format.
src/tribler/test_unit/core/versioning/test_manager.py:89
Method
test_check_version_newer
Check if a newer version is returned when available.
src/tribler/test_unit/core/versioning/test_manager.py:102
Method
test_check_version_newer_retry
Check if a newer version is returned when available from the backup url.
src/tribler/test_unit/core/versioning/test_manager.py:115
Method
test_check_version_no_responses
Check if None is returned when no responses are received.
src/tribler/test_unit/core/versioning/test_manager.py:68
Method
test_check_version_no_version
Check if the bleeding edge source does not think it needs to be updated.
src/tribler/test_unit/core/versioning/test_manager.py:62
Method
test_check_version_unavailable
Check if the checked version is correctly returned when a version is not available.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:68
Method
test_checkpoint_timeout
Testing whether making a checkpoint times out when we receive no alert from libtorrent.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:535
Method
test_circuit_reject_too_many
Test if a circuit is rejected by an exit node if it already joined the max number of circuits.
src/tribler/test_unit/core/tunnel/test_community.py:288
Method
test_clear_orphaned_parts_bad_hex_parts
Check if nothing is getting removed if there are only non-hex parts files.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:728
Method
test_clear_orphaned_parts_bad_len_parts
Check if nothing is getting removed if there are only odd-length parts files.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:718
Method
test_clear_orphaned_parts_empty
Check if nothing is getting removed if there are no files.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:700
Method
test_clear_orphaned_parts_no_parts
Check if nothing is getting removed if there are no parts files.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:709
Method
test_clear_orphaned_parts_sha1_parts_nonorphaned
Check if SHA-1 parts that are used for downloads are not getting removed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:760
Method
test_clear_orphaned_parts_sha1_parts_orphaned
Check if SHA-1 parts are getting removed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:738
Method
test_clear_orphaned_parts_sha256_parts_nonorphaned
Check if SHA-1 parts that are used for downloads are not getting removed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:771
Method
test_clear_orphaned_parts_sha256_parts_orphaned
Check if SHA-1 parts are getting removed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:749
Method
test_clear_seeding_ratio
Test if the individual seeding ratio can be set to follow the default again.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:99
Method
test_combine_bloom_filters_different
Test if two bloom different filters can be combined.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:64
Method
test_combine_bloom_filters_equal
Test if two bloom equal filters can be combined.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:55
Method
test_common_prefix_single
Test if a single file can a prefix of nothing.
src/tribler/test_unit/core/libtorrent/test_torrents.py:131
Method
test_common_prefix_single_in_folder
Test if a single file can a prefix of its parent directory.
src/tribler/test_unit/core/libtorrent/test_torrents.py:143
Method
test_common_prefix_single_many
Test if a many single files have a prefix of nothing.
src/tribler/test_unit/core/libtorrent/test_torrents.py:137
Method
test_common_prefix_single_many_in_folder
Test if many single files have a prefix of their parent directory.
src/tribler/test_unit/core/libtorrent/test_torrents.py:149
Method
test_completions_bad_query
Test if a missing query leads to a bad request status.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:217
Method
test_completions_lowercase_search
Test if a normal lowercase search leads to results.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:229
Method
test_completions_mixed_case_search
Test if a mixed case search leads to results.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:245
Method
test_compositions
Check if all compositions are able to launch without crashing.
src/tribler/test_integration/skip_test_composition.py:48
Method
test_connect_pass_timeout
Test if connect correctly times out.
src/tribler/test_unit/core/socks5/test_aiohttp_connector.py:79
Method
test_connect_tcp
Test if a client can connect through TCP.
src/tribler/test_unit/core/socks5/test_client.py:116
Method
test_connect_with_timeout
Test if connect can be called with a timeout.
src/tribler/test_unit/core/socks5/test_aiohttp_connector.py:70
Method
test_connect_without_timeout
Test if connect can be called without a timeout.
src/tribler/test_unit/core/socks5/test_aiohttp_connector.py:61
Method
test_create_and_start
Test if creating and starting a download works.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:172
Method
test_create_dconf_safe_default_safe
Test if a default safe config can be overwritten to be safe.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:86
Method
test_create_dconf_safe_default_unsafe
Test if a default unsafe config can be overwritten to be safe.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:116
Method
test_create_dconf_unsafe_default_safe
Test if a default safe config can be overwritten to be unsafe.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:96
Method
test_create_dconf_unsafe_default_unsafe
Test if a default unsafe config can be overwritten to be unsafe.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:126
Method
test_create_dconf_unset_default_safe
Test if a default safe config can be overwritten to be unsafe.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:106
Method
test_create_dconf_unset_default_unsafe
Test if a default unsafe config can be overwritten to be unsafe.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:136
Method
test_create_default
Test if creating a torrent from defaults works.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:95
Method
test_create_invalid_tdef_empty_metainfo
Test if creating a TorrentDef object without metainfo results in a ValueError.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:15
Method
test_create_socket_fail
Test creation of the UDP socket of the torrent checker when it fails.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:80
Method
test_create_torrent_file_defaults
Test if torrents can be created from an existing file without any parameters.
src/tribler/test_unit/core/libtorrent/test_torrents.py:181
Method
test_create_torrent_file_with_announce
Test if torrents can be created with a specified announce field.
src/tribler/test_unit/core/libtorrent/test_torrents.py:220
Method
test_create_torrent_file_with_announce_list
Test if torrents can be created with a specified announce list. Note that the announce list becomes a list of lists after creating t
src/tribler/test_unit/core/libtorrent/test_torrents.py:229
Method
test_create_torrent_file_with_comment
Test if torrents can be created with a specified comment.
src/tribler/test_unit/core/libtorrent/test_torrents.py:198
← previous
next →
1,101–1,200 of 1,819, ranked by callers