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_create_torrent_file_with_created_by
Test if torrents can be created with a specified created by field.
src/tribler/test_unit/core/libtorrent/test_torrents.py:209
Method
test_create_torrent_file_with_nodes
Test if torrents can be created with a specified node list.
src/tribler/test_unit/core/libtorrent/test_torrents.py:241
Method
test_create_torrent_file_with_piece_length
Test if torrents can be created with a specified piece length.
src/tribler/test_unit/core/libtorrent/test_torrents.py:190
Method
test_create_torrent_file_with_url_list
Test if torrents can be created with a specified url list.
src/tribler/test_unit/core/libtorrent/test_torrents.py:250
Method
test_create_with_comment
Test if creating a torrent with a custom comment works.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:119
Method
test_create_with_trackers
Test if creating a torrent with custom trackers works.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:143
Method
test_current_version
Check if the current version is correctly returned.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:27
Method
test_data_received_connected
Test if data is fed to the registered callback when a connection is open.
src/tribler/test_unit/core/socks5/test_client.py:45
Method
test_data_received_queue_unconnected
Test if data is put in a single-item queue when no connection is open.
src/tribler/test_unit/core/socks5/test_client.py:57
Method
test_decode_command_request_fail_encoding
Test if decoding a badly encoded command request raises an exception.
src/tribler/test_unit/core/socks5/test_conversion.py:73
Method
test_decode_command_request_fail_invalid_address
Test if decoding a command request with an invalid address type raises an exception.
src/tribler/test_unit/core/socks5/test_conversion.py:81
Method
test_decode_command_request_fail_ipv6
Test if decoding a command request with an ipv6 address raises an exception.
src/tribler/test_unit/core/socks5/test_conversion.py:88
Method
test_decode_non_unicode_command_request
Test if command requests from non-unicode trackers can be decoded.
src/tribler/test_unit/core/socks5/test_conversion.py:51
Method
test_decode_non_unicode_packet
Test decoding a non-unicode udp packet.
src/tribler/test_unit/core/socks5/test_conversion.py:20
Method
test_decode_udp_packet_fail
Test if decoding a badly encoded udp packet raises an exception.
src/tribler/test_unit/core/socks5/test_conversion.py:42
Method
test_decode_unicode_command_request
Test if command requests from unicode trackers can be decoded.
src/tribler/test_unit/core/socks5/test_conversion.py:62
Method
test_decode_unicode_packet
Test decoding a unicode udp packet.
src/tribler/test_unit/core/socks5/test_conversion.py:31
Method
test_delete_download_delete_failed
Test if a graceful error is returned when the deletion of an existing download fails.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:509
Method
test_delete_download_no_data
Test if the requested download is removed without removing data on request.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:475
Method
test_delete_download_no_download
Test if a graceful error is returned when no download is found for removal.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:462
Method
test_delete_download_no_remove_data
Test if a graceful error is returned when no remove data is supplied when deleting a download.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:450
Method
test_delete_download_with_data
Test if the requested download and its data is removed on request.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:492
Method
test_deprecated_popular_torrents_request_live
The new protocol no longer uses HealthPayload but still supports it.
src/tribler/test_unit/core/content_discovery/test_community.py:343
Method
test_deprecated_popular_torrents_request_no_live
The new protocol no longer uses HealthPayload but still supports it.
src/tribler/test_unit/core/content_discovery/test_community.py:327
Method
test_disable_share_mode
Test if the share mode can be disabled in a download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:293
Method
test_disabled_adv_rate_limits
Check if disabled advanced rate limits don't affect "normal" rate limits.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:798
Method
test_disallow_associate_udp_on_tcp
Test if a client cannot associate through UDP using a pre-established TCP connection.
src/tribler/test_unit/core/socks5/test_client.py:104
Method
test_disallow_connect_tcp_on_udp
Test if a client cannot connect through TCP using a pre-established UDP association.
src/tribler/test_unit/core/socks5/test_client.py:126
Method
test_download_get_magnet_link_no_handle
Test if a download without a handle does not have a magnet link.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:53
Method
test_download_manager_start
Test if all (zero) checkpoints are loaded when starting without downloads.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:429
Method
test_download_resume
Test if a download can be resumed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:62
Method
test_download_save_load
Test if configs can be written.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:78
Method
test_downloadconfig_copy
Test if the download config can be copied.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:69
Method
test_enable
Test if a stream can be enabled without known pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:171
Method
test_enable_buffer
Test if a stream can be enabled with a buffer.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:210
Method
test_enable_have_pieces
Test if a stream can be enabled when we already have all pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:221
Method
test_enable_header_footer
Test if a stream can be enabled with a header and footer.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:199
Method
test_enable_no_buffering
Test if a stream can be enabled without buffering.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:189
Method
test_enable_share_mode
Test if the share mode can be enabled in a download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:279
Method
test_enable_unknown_file_index
Test if trying to enable a stream with an unknown file index produces an error.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:181
Method
test_entries_to_chunk_health
Test if entries_to_chunk correctly gives the health data.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:81
Method
test_entries_to_chunk_last_index_fit
Test if the last index of entries_to_chunk is correctly given if the data does fit.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:73
Method
test_entries_to_chunk_last_index_no_fit
Test if the last index of entries_to_chunk is correctly given if the data does not fit.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:65
Method
test_error_before_connection
Test if errors are stored as undelivered errors when no connection is available.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:152
Method
test_error_middleware_not_found
Test if HTTPNotFound exceptions are formatted as an error message.
src/tribler/test_unit/core/restapi/test_rest_manager.py:121
Method
test_error_middleware_other
Test if all other exceptions (see above) are formatted as an error message.
src/tribler/test_unit/core/restapi/test_rest_manager.py:149
Method
test_error_middleware_reset_error
Test if ConnectionResetErrors are not caught.
src/tribler/test_unit/core/restapi/test_rest_manager.py:111
Method
test_error_middleware_too_large
Test if HTTPRequestEntityTooLarge exceptions are formatted as an error message.
src/tribler/test_unit/core/restapi/test_rest_manager.py:135
Method
test_establish_connection
Test if opening an events connection leads to an event start.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:108
Method
test_establish_connection_with_error
Test if opening an events connection with an error leads to an event start followed by the error.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:121
Method
test_existing_get_health
Test if the same future is returned for the same query.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:46
Method
test_failed_unicode
Test if response with non-unicode symbols leads to a ValueError when processing a scrape.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:349
Method
test_failed_unicode_udp
Test if failing a session with non-unicode symbols leads to a ValueError.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:358
Method
test_failure_oserror
Test if processing a request that leads to an OSError is gracefully reported.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:48
Method
test_failure_runtimeerror
Test if processing a request that leads to an RuntimeError is gracefully reported.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:80
Method
test_failure_unicodedecodeerror
Test if processing a request that leads to an OSError is gracefully reported.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:63
Method
test_fast_integrity_check_malformed
Check that we detect a malformed db file as broken and remove it.
src/tribler/test_unit/core/database/test_store.py:313
Method
test_fast_integrity_check_no_remove
Check that we detect a random file as broken.
src/tribler/test_unit/core/database/test_store.py:287
Method
test_fast_integrity_check_non_existent
Check that we don't detect a non-existent file as broken.
src/tribler/test_unit/core/database/test_store.py:305
Method
test_fast_integrity_check_remove
Check that we detect a random file as broken and remove it.
src/tribler/test_unit/core/database/test_store.py:295
Method
test_ffa_with_tracker_info
Test if FFA entries are correctly added when they have tracker_info.
src/tribler/test_unit/core/database/test_store.py:203
Method
test_file_completion_directory
Test if a directory (does not exist in a torrent) shows 1.0 completion.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:689
Method
test_file_completion_full
Test if a complete file shows 1.0 completion.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:669
Method
test_file_completion_nohandle
Test if a file shows 0.0 completion if the torrent handle is not valid.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:699
Method
test_file_completion_nonexistent
Test if an unknown path (does not exist in a torrent) shows 1.0 completion.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:679
Method
test_file_completion_partial
Test if a file shows 0.0 completion if the torrent handle is not valid.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:709
Method
test_file_index_file
Test if we can get the index of a file.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:755
Method
test_file_length
Test if we can get the length of a file.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:727
Method
test_file_length_nonexistent
Test if the length of a non-existent file is 0.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:746
Method
test_file_length_two
Test if we can get the length of a file in a multi-file torrent.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:736
Method
test_file_piece_range_flat
Test if the piece range of a single-file torrent is correctly determined.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:615
Method
test_file_piece_range_minifiles
Test if the piece range of a file is correctly determined if multiple files exist in the same piece.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:627
Method
test_file_piece_range_nonexistent
Test if the piece range of a non-existent file is correctly determined.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:658
Method
test_file_piece_range_wide
Test if the piece range of a multi-file torrent is correctly determined.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:639
Method
test_file_selected_realfile
Test if a file starts off as selected.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:764
Method
test_find_word_first
Test if a matched first word gets popped from the queue.
src/tribler/test_unit/core/database/test_ranks.py:170
Method
test_find_word_not_found
Test if the False is returned when a word is not found.
src/tribler/test_unit/core/database/test_ranks.py:197
Method
test_find_word_skip_many
Test if the number of skipped words is returned correctly when skipping over many.
src/tribler/test_unit/core/database/test_ranks.py:188
Method
test_find_word_skip_one
Test if the number of skipped words is returned correctly when skipping over one.
src/tribler/test_unit/core/database/test_ranks.py:179
Method
test_forward_error
Test if errors are forwarded over the stream.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:135
Method
test_forward_notification
Test if notifications are forwarded.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:196
Method
test_freshness_rank_max
Test if maximum freshness has the highest rank.
src/tribler/test_unit/core/database/test_ranks.py:40
Method
test_freshness_rank_relative
Test if fresh torrents have a higher score than old torrents.
src/tribler/test_unit/core/database/test_ranks.py:46
Method
test_freshness_rank_zero
Test if invalid or unknown freshness has the lowest rank.
src/tribler/test_unit/core/database/test_ranks.py:33
Method
test_get_alive_torrents
Test if get_alive_checked_torrents returns a known alive torrent.
src/tribler/test_unit/core/content_discovery/test_community.py:120
Method
test_get_alive_torrents_no_checker
Test if get_alive_checked_torrents returns nothing without a torrent checker.
src/tribler/test_unit/core/content_discovery/test_community.py:146
Method
test_get_alive_torrents_no_leechers
Test if get_alive_checked_torrents does return torrents without leechers.
src/tribler/test_unit/core/content_discovery/test_community.py:137
Method
test_get_alive_torrents_no_seeders
Test if get_alive_checked_torrents does not return torrents without seeders.
src/tribler/test_unit/core/content_discovery/test_community.py:127
Method
test_get_availability_complete
Testing if the right availability of a file is returned if another peer has all pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:178
Method
test_get_availability_incomplete
Testing if the right availability of a file is returned if another peer has no pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:165
Method
test_get_availability_mixed
Testing if the right availability of a file is returned if one peer is complete and the other is not.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:191
Method
test_get_current_version
Check if a normal version can be correctly returned.
src/tribler/test_unit/core/versioning/test_manager.py:34
Method
test_get_current_version_not_found
Check if a value of None is returned as the version, when it cannot be found.
src/tribler/test_unit/core/versioning/test_manager.py:41
Method
test_get_default_fallback
Test if ``get`` falls back to the default config values.
src/tribler/test_unit/test_tribler_config.py:11
Method
test_get_default_fallback_half_tree
Test if ``get`` falls back to the default config values, when part of the path exists.
src/tribler/test_unit/test_tribler_config.py:19
Method
test_get_directory
Test if ``get`` of a directory returns the entire dict.
src/tribler/test_unit/test_tribler_config.py:28
Method
test_get_downloads_by_name
Test if downloads can be retrieved by name.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:468
Method
test_get_downloads_filter_download_fail
Test if the information of a download that does not pass the filter is correctly presented.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:275
Method
test_get_downloads_filter_download_pass
Test if the information of a download that passes the filter is correctly presented.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:256
Method
test_get_downloads_hidden_download
Test if an empty list is returned if there are only hidden downloads.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:181
← previous
next →
1,201–1,300 of 1,819, ranked by callers