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_observer_too_many_args
Test if observing with too many args raises a TypeError.
src/tribler/test_unit/core/test_notifier.py:66
Method
test_old_new
Test if health info that is new is not flagged as old.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:53
Method
test_old_old
Test if health info that is old is flagged as old.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:45
Method
test_older_than
Test if old health info is older than new health info.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:61
Method
test_on_add_torrent_alert_invalid_ti
Test if on_add_torrent_alert does not overwrite already-valid torrent info with invalid torrent info.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:940
Method
test_on_add_torrent_alert_overwrite_ti
Test if on_add_torrent_alert does not overwrite already-valid torrent info with ``None``.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:916
Method
test_on_metadata_received_alert
Test if the right operations happen when we receive metadata.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:414
Method
test_on_save_resume_data_alert_permission_denied
Test if permission error in writing the download config does not crash the save resume alert handler.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:550
Method
test_on_torrent_finished_alert
Test if the torrent_finished notification is called when the torrent finishes.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:773
Method
test_parse_bool
Test if parse bool fulfills its promises.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:53
Method
test_parse_rss
Test if we extract all .torrents from RSS contents.
src/tribler/test_unit/core/rss/test_rss.py:184
Method
test_parse_rss_empty
Test if we don't crash on parsing emtpy RSS contents.
src/tribler/test_unit/core/rss/test_rss.py:154
Method
test_parse_rss_malformed
Test if we don't crash on parsing malformed RSS contents.
src/tribler/test_unit/core/rss/test_rss.py:164
Method
test_parse_rss_old
Test if we ignore already-known .torrents from RSS contents.
src/tribler/test_unit/core/rss/test_rss.py:194
Method
test_parse_rss_unusable
Test if we don't crash on parsing unusable (no .torrents) RSS contents.
src/tribler/test_unit/core/rss/test_rss.py:174
Method
test_parse_tracker_url_http_bad_url
Test if tracker HTTP URLs with a bad URL raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:224
Method
test_parse_tracker_url_http_no_path
Test if tracker HTTP URLs without a path raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:251
Method
test_parse_tracker_url_http_non_standard_port
Test if tracker HTTP URLs with a non-standard port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:199
Method
test_parse_tracker_url_http_with_port
Test if tracker HTTP URLs with a port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:167
Method
test_parse_tracker_url_http_without_port
Test if tracker HTTP URLs without a port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:183
Method
test_parse_tracker_url_https_bad_url
Test if tracker HTTP URLs with a bad URL raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:233
Method
test_parse_tracker_url_https_no_path
Test if tracker HTTPS URLs without a path raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:260
Method
test_parse_tracker_url_https_non_standard_port
Test if tracker HTTPS URLs with a non-standard port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:207
Method
test_parse_tracker_url_https_with_port
Test if tracker HTTPS URLs with a port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:175
Method
test_parse_tracker_url_https_without_port
Test if tracker HTTPS URLs without a port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:191
Method
test_parse_tracker_url_udp_no_port
Test if tracker UDP URLs without a port raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:269
Method
test_parse_tracker_url_udp_with_port
Test if tracker UDP URLs with a port are parsed correctly.
src/tribler/test_unit/core/libtorrent/test_trackers.py:159
Method
test_parse_tracker_url_unknown_scheme
Test if tracker URLs with an unknown scheme raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:215
Method
test_parse_tracker_url_unknown_scheme_no_path
Test if tracker URLs with an unknown scheme and no path raise a MalformedTrackerURLException.
src/tribler/test_unit/core/libtorrent/test_trackers.py:242
Method
test_perform_upgrade
Check if a request to perform an upgrade launches an upgrade task.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:134
Method
test_ping
Test if the keep-alive message works. Note: assertReceivedBy is illegal here because a ping is a GlobalTimeDistribution + Introducti
src/tribler/test_unit/core/content_discovery/test_community.py:298
Method
test_ping_ipv6
Test if the keep-alive message works when dealing with IPv6 addresses. Note: assertReceivedBy is illegal here because a ping is a Gl
src/tribler/test_unit/core/content_discovery/test_community.py:313
Method
test_pop_finished_transaction
Test if receiving a datagram for an already finished tracker session does not result in InvalidStateError.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:118
Method
test_popular_torrents_request
Test if HealthRequestPayload initializes correctly.
src/tribler/test_unit/core/content_discovery/test_payload.py:96
Method
test_popularity_search
Test searching several nodes for metadata entries based on title text.
src/tribler/test_unit/core/content_discovery/test_community.py:154
Method
test_popularity_search_deprecated
Test searching several nodes for metadata entries with a deprecated parameter.
src/tribler/test_unit/core/content_discovery/test_community.py:169
Method
test_popularity_search_unparsed_metadata_type
Test searching several nodes for metadata entries with the metadata type passed as a string.
src/tribler/test_unit/core/content_discovery/test_community.py:185
Method
test_process_error_alert
Test if error alerts are processed correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:362
Method
test_process_error_alert_not_working
Test if not working error alerts are processed correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:388
Method
test_process_error_alert_timeout
Test if timeout error alerts are processed correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:375
Method
test_process_external_payload
Test if processing an external payload works.
src/tribler/test_unit/core/database/test_store.py:120
Method
test_process_external_payload_invalid_sig
Test that payloads with an invalid signature are not processed.
src/tribler/test_unit/core/database/test_store.py:139
Method
test_process_forbidden_null_key_payload
Test if payloads with NULL keys are not processed.
src/tribler/test_unit/core/database/test_store.py:97
Method
test_process_forbidden_type_payload
Test if payloads that are not torrent type are not processed.
src/tribler/test_unit/core/database/test_store.py:108
Method
test_process_invalid_compressed_mdblob
Test if an invalid compressed mdblob does not crash Tribler.
src/tribler/test_unit/core/database/test_store.py:90
Method
test_process_payload_ffa
Test if FFA entries are correctly added.
src/tribler/test_unit/core/database/test_store.py:179
Method
test_process_payload_invalid_metadata_type
Test if payloads with an invalid metadata type are not processed.
src/tribler/test_unit/core/database/test_store.py:153
Method
test_process_payload_skip_personal
Test if payloads with our own signature are not processed.
src/tribler/test_unit/core/database/test_store.py:167
Method
test_process_rpc_query
Test if process_rpc_query searches the TriblerDB and MetadataStore.
src/tribler/test_unit/core/content_discovery/test_community.py:226
Method
test_process_rpc_query_match_none
Check if a correct query with no match in our database returns no result.
src/tribler/test_unit/core/content_discovery/test_community.py:289
Method
test_proxy_transport
Test if the UdpSocketManager uses a proxy if specified.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:136
Method
test_read_closed
Test if all bytes can be read from a chunk when it's closed.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:69
Method
test_read_empty
Test if all bytes can be read from a chunk when it has no data.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:81
Method
test_read_multiple_pieces
Test if all bytes can be read from a chunk when its data is in multiple pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:106
Method
test_read_payload_with_offset_regular_torrent
Test if TorrentMetadataPayload payload formats are correctly decoded.
src/tribler/test_unit/core/database/test_serialization.py:49
Method
test_read_payload_with_offset_unknown
Test if unknown payload formats throw a UnknownBlobTypeException.
src/tribler/test_unit/core/database/test_serialization.py:42
Method
test_read_single_piece
Test if all bytes can be read from a chunk when its data is in a single piece.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:95
Method
test_readd_bittorrent_peers
Test the readd bittorrent peers method.
src/tribler/test_unit/core/tunnel/test_community.py:127
Method
test_readd_download_safe_seeding
Test if a download is re-added when doing safe seeding. Safe seeding should be turned off and the number of hops should be retrieved
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:440
Method
test_receive_bloomfilters
Test if the right operations happens when receiving a bloom filter.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:100
Method
test_receive_bloomfilters_nothing
Test if just receiving a transactions id does nothing to the bloom filter.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:91
Method
test_recheck_after_finish
Test if a recheck is triggered after finishing.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:790
Method
test_recheck_after_finish_no_startup
Test if a recheck is not triggered after loading a torrent on startup.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:807
Method
test_recursive_unicode_complex_object
Test if a complex object can be recursively converted to unicode.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:590
Method
test_recursive_unicode_empty
Test if empty items can be recursively converted to unicode.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:567
Method
test_recursive_unicode_unicode_decode_error
Test if recursive unicode raises an exception on invalid bytes.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:577
Method
test_recursive_unicode_unicode_decode_error_ignore_errors
Test if recursive unicode ignores errors on invalid bytes and returns the converted bytes by using chr().
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:584
Method
test_remote_search
Test if a good search request returns a dict with the UUID and serving peers.
src/tribler/test_unit/core/content_discovery/restapi/test_search_endpoint.py:53
Method
test_remote_search_bad_request
Test if a bad request returns the bad request status.
src/tribler/test_unit/core/content_discovery/restapi/test_search_endpoint.py:41
Method
test_remote_select
Test querying metadata entries from a remote machine.
src/tribler/test_unit/core/content_discovery/test_community.py:239
Method
test_remote_select_deprecated
Test deprecated search keys receiving an empty archive response.
src/tribler/test_unit/core/content_discovery/test_community.py:253
Method
test_remote_select_payload
Test if RemoteSelectPayload initializes correctly.
src/tribler/test_unit/core/content_discovery/test_payload.py:122
Method
test_remove_existing_circuit
Test removing an existing circuit.
src/tribler/test_unit/core/tunnel/test_community.py:147
Method
test_remove_existing_circuit_later
Test removing an existing circuit.
src/tribler/test_unit/core/tunnel/test_community.py:157
Method
test_remove_exit
If we have a normal node and an exit node, check if enforcing a ratio of 1.0 removes the exit node.
src/tribler/test_unit/core/tunnel/test_discovery.py:82
Method
test_remove_non_existing_circuit
Test removing a non-existing circuit.
src/tribler/test_unit/core/tunnel/test_community.py:139
Method
test_remove_normal
If we have a normal node and an exit node, check if enforcing a ratio of 0.0 removes the normal node.
src/tribler/test_unit/core/tunnel/test_discovery.py:71
Method
test_remove_tag_many
Test if a tag can be removed when many tags are present.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:348
Method
test_remove_tag_no_exist
Test if a non-existent tag can be removed when tags are present.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:318
Method
test_remove_tag_no_exist_empty
Test if a non-existent tag can be removed when no tags are present.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:303
Method
test_remove_tag_one
Test if a tag can be removed when the tag is present.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:333
Method
test_remove_tracker
Test if removing a tracker works correctly.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:61
Method
test_remove_tracker
Test if trackers can be removed from a download.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:929
Method
test_remove_tracker_from_metainfo_announce
Test if trackers can be removed from a download's metainfo with only b"announce".
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:950
Method
test_remove_tracker_from_metainfo_announce_both_first
Test if trackers can be removed from a download's metainfo where the b"announce" is first in b"announce-list".
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:990
Method
test_remove_tracker_from_metainfo_announce_both_second
Test if trackers can be removed from a download's metainfo where the b"announce" is second in b"announce-list".
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1014
Method
test_remove_tracker_from_metainfo_announce_list
Test if trackers can be removed from a download's metainfo with only b"announce-list".
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:969
Method
test_remove_tracker_handle_error
Test if removing a tracker fails when a libtorrent internal error occurs.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1063
Method
test_remove_tracker_no_download
Test if removing a tracker fails when no download is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1038
Method
test_remove_tracker_no_url
Test if removing a tracker fails when no tracker url is given.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1050
Method
test_remove_unregistered_torrent
Test if torrents which aren't known are succesfully removed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:262
Method
test_remove_version
Check if a request to remove a given version is forwarded.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:158
Method
test_remove_version_illegal
Check if a request without a version returns a BAD REQUEST status.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:147
Method
test_request_for_version
Test if a version request is responded to.
src/tribler/test_unit/core/content_discovery/test_community.py:201
Method
test_request_for_version_build
Test if a build version request is responded to.
src/tribler/test_unit/core/content_discovery/test_community.py:213
Method
test_require_handle_ignore_runtime_errors
Test if runtime errors are ignored in functions.
src/tribler/test_unit/core/libtorrent/test_torrents.py:94
Method
test_require_handle_invalid_handle
Test if None is returned for invalid handles.
src/tribler/test_unit/core/libtorrent/test_torrents.py:70
Method
test_require_handle_set_exception
Test if exceptions other than runtime errors are set on the future.
src/tribler/test_unit/core/libtorrent/test_torrents.py:113
Method
test_require_handle_valid_handle
Test if the result of the given method is given for valid handles.
src/tribler/test_unit/core/libtorrent/test_torrents.py:82
Method
test_reset_priorities_default
Test if streams can be reset to the default priority (4) for all pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:301
← previous
next →
1,501–1,600 of 1,819, ranked by callers