MCPcopy Create free account

hub / github.com/Tribler/tribler / functions

Functions1,819 in github.com/Tribler/tribler

Methodtest_get_downloads_invalid_handle_download
Test if a download with an invalid handle doesn't get its tracker info polled, which causes a RuntimeError.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:239
Methodtest_get_downloads_no_downloads
Test if an empty list is returned if there are no downloads.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:165
Methodtest_get_downloads_normal_download
Test if the information of a normal download is correctly presented.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:198
Methodtest_get_downloads_unloaded
Test if a clean response is returned if the checkpoints are not loaded yet.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:146
Methodtest_get_entries_query_category
Test if entries can be fetched by category (single tag).
src/tribler/test_unit/core/database/test_store.py:257
Methodtest_get_entries_query_deprecated
Test if the get entries query ignores invalid arguments.
src/tribler/test_unit/core/database/test_store.py:226
Methodtest_get_entries_query_sort_by_size
Test if entries are properly sorted by size.
src/tribler/test_unit/core/database/test_store.py:212
Methodtest_get_entries_query_tags
Test if entries can be fetched by partial tags.
src/tribler/test_unit/core/database/test_store.py:241
Methodtest_get_entries_query_tags_multiple
Test if entries can be fetched by multiple tags.
src/tribler/test_unit/core/database/test_store.py:273
Methodtest_get_file_indices
Test if files are returned as given by the torrent info. Note: The torrent_info bytes are generated using ``libtorrent.generate()``,
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:54
Methodtest_get_file_indices_exclude_pad
Test if files do not return pad files.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:71
Methodtest_get_file_indices_hidden
Test if files with flags that are not padding files are still returned.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:85
Methodtest_get_file_indices_no_info
Test if no files are returned when there is no torrent info.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:46
Methodtest_get_files_completion
Testing if the right completion of files is returned. Each file is 6 bytes, so a file progress of 3 bytes is 0.5 completion.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:124
Methodtest_get_files_completion_no_progress
Testing if file progress is not given if no file progress is available.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:140
Methodtest_get_files_completion_semivalid_handle
Testing whether no file completion is returned for valid handles that have invalid file_progress. This case mirrors https://github.c
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:206
Methodtest_get_files_completion_zero_length_file
Testing if file progress is 100% for a file of 0 bytes.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:151
Methodtest_get_files_info_json_v1
Test if files can be shown for v1 torrents.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1148
Methodtest_get_files_info_json_v2
Test if files can be shown for v2 torrents.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:1170
Methodtest_get_files_no_download
Test if a graceful error is returned when no download is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:776
Methodtest_get_files_v1
Test if files can be shown for v1 torrents.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:599
Methodtest_get_files_v2
Test if files can be shown for v2 torrents.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:617
Methodtest_get_files_without_path
Test if the files of a download get be retrieved without specifying a starting path.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:789
Methodtest_get_health
Test if the health of a trackerless torrent can be fetched.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:38
Methodtest_get_info_from_handle_legacy
Test if fetching a handle raise a RuntimeError that None is returned.
src/tribler/test_unit/core/libtorrent/test_torrents.py:173
Methodtest_get_info_from_handle_no_attribute
Test if a handle has no torrent info attribute that None is returned.
src/tribler/test_unit/core/libtorrent/test_torrents.py:161
Methodtest_get_info_from_handle_runtime_error
Test if fetching a handle raise a RuntimeError that None is returned.
src/tribler/test_unit/core/libtorrent/test_torrents.py:167
Methodtest_get_ipv8_stats_no_ipv8
Test if getting IPv8 stats without IPv8 gives empty IPv8 statistics.
src/tribler/test_unit/core/restapi/test_statistics_endpoint.py:44
Methodtest_get_ipv8_stats_with_ipv8
Test if getting IPv8 stats forwards the known IPv8 endpoint statistics.
src/tribler/test_unit/core/restapi/test_statistics_endpoint.py:56
Methodtest_get_magnet
Test if TorrentMetadataPayload can generated magnet links from its infohash.
src/tribler/test_unit/core/database/test_serialization.py:125
Methodtest_get_metainfo_add_fail
Test if invalid metainfo leads to a return value of None.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:99
Methodtest_get_metainfo_cache
Testing if cached metainfo is returned, if available.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:127
Methodtest_get_metainfo_duplicate_request
Test if the same request is returned when invoking get_metainfo twice with the same infohash.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:109
Methodtest_get_metainfo_valid_metadata
Testing if the metainfo is retrieved when the handle has valid metadata immediately.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:80
Methodtest_get_metainfo_with_already_added_torrent
Test if metainfo can be fetched for a torrent which is already in session.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:142
Methodtest_get_name_as_unicode
Test if normal UTF-8 names can be decoded.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:30
Methodtest_get_name_utf8
Check if we can successfully get the UTF-8 encoded torrent name when using a different encoding.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:22
Methodtest_get_num_connected_seeds_peers
Test if connected peers and seeds are correctly returned.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:319
Methodtest_get_num_connected_seeds_peers_no_handle
Test if connected peers and seeds are 0 if there is no handle.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:307
Methodtest_get_pieces_bitmask
Test if a correct pieces bitmask is returned when requested.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:511
Methodtest_get_session_info_known
Test if getting session info for a known number of hops forwards the known settings.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:113
Methodtest_get_session_info_unknown_specified_hops_default
Test if getting session info for an unknown number of hops defaults to 0 hops.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:100
Methodtest_get_session_info_unknown_unspecified_hops_default
Test if getting session info for an unspecified number of hops defaults to 0 hops.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:87
Methodtest_get_set_explicit
Test if ``get`` can retrieve explicitly set config values.
src/tribler/test_unit/test_tribler_config.py:36
Methodtest_get_settings
Test if settings can be retrieved.
src/tribler/test_unit/core/restapi/test_settings_endpoint.py:34
Methodtest_get_settings_more_hops
Test if getting settings for more hops leaves out extended info.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:71
Methodtest_get_settings_unknown_specified_hops_default
Test if getting settings for an unknown number of hops defaults to 0 hops.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:39
Methodtest_get_settings_unknown_unspecified_hops_default
Test if getting settings for an unspecified number of hops defaults to 0 hops.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:25
Methodtest_get_settings_zero_hops
Test if getting settings for zero hops gives extended info.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:53
Methodtest_get_share_mode_disabled
Test if we forward the disabled share mode when requested in the download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:269
Methodtest_get_share_mode_enabled
Test if we forward the enabled share mode when requested in the download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:259
Methodtest_get_size_from_bloom_filter
Test if we can successfully estimate the size from a bloom filter. See http://www.bittorrent.org/beps/bep_0033.html
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:73
Methodtest_get_size_from_bloom_filter_maximum
Test if we can successfully estimate the size of a bloom filter at maximum capacity.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:83
Methodtest_get_torrent
Test if torrent data is correctly sent over on request.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:760
Methodtest_get_torrent_data_v1
Test if we can export a v1 torrent.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:964
Methodtest_get_torrent_data_v2
Test if we can export a v2 torrent.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:987
Methodtest_get_torrent_health
Test if calling get_torrent_health with a valid request leads to a true checking status.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:88
Methodtest_get_torrent_health_bad_timeout
Test if a bad timeout value in get_torrent_health leads to a HTTP_BAD_REQUEST status.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:62
Methodtest_get_torrent_health_no_checker
Test if calling get_torrent_health without a torrent checker leads to a false checking status.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:74
Methodtest_get_torrent_info_bad_hops
Test if a graceful error is returned when the supplied number of hops is an int value.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:40
Methodtest_get_torrent_info_bad_scheme
Test if a graceful error is returned when the supplied the URI scheme is unknown.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:52
Methodtest_get_torrent_info_file_filenotfounderror
Test if a graceful error is returned when a FileNotFoundError occurs when loading a torrent.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:77
Methodtest_get_torrent_info_file_runtimeerror
Test if a graceful error is returned when a RuntimeError occurs when loading a torrent.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:116
Methodtest_get_torrent_info_file_typeerror
Test if a graceful error is returned when a TypeError occurs when loading a torrent.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:90
Methodtest_get_torrent_info_file_valueerror
Test if a graceful error is returned when a ValueError occurs when loading a torrent.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:103
Methodtest_get_torrent_info_http_clientconnectorerror
Test if a graceful error is returned when a ClientConnectorError occurs when loading from an HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:248
Methodtest_get_torrent_info_http_clientresponseerror
Test if a graceful error is returned when a ClientResponseError occurs when loading from an HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:216
Methodtest_get_torrent_info_http_no_metainfo
Test if a graceful error is returned when no metainfo is available for a http link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:450
Methodtest_get_torrent_info_http_no_torrent
Test if a graceful error is returned when a valid HTTP address does not return a torrent.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:297
Methodtest_get_torrent_info_http_redirect_magnet_no_metainfo
Test if a graceful error is returned when no metainfo is available for a magnet returned by a HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:482
Methodtest_get_torrent_info_http_serverconnectionerror
Test if a graceful error is returned when a ServerConnectionError occurs when loading from an HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:200
Methodtest_get_torrent_info_http_sslerror
Test if a graceful error is returned when a SSLError occurs when loading from an HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:232
Methodtest_get_torrent_info_http_timeouterror
Test if a graceful error is returned when a TimeoutError occurs when loading from an HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:265
Methodtest_get_torrent_info_http_valueerror
Test if a graceful error is returned when a ValueError occurs when loading from an HTTP link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:281
Methodtest_get_torrent_info_https_certificate_error
Test if it is returned that an invalid certificate for an HTTPS request was used.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:426
Methodtest_get_torrent_info_https_clientconnectorerror
Test if a graceful error is returned when a ClientConnectorError occurs when loading from an HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:361
Methodtest_get_torrent_info_https_clientresponseerror
Test if a graceful error is returned when a ClientResponseError occurs when loading from an HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:329
Methodtest_get_torrent_info_https_no_metainfo
Test if a graceful error is returned when no metainfo is available for a https link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:466
Methodtest_get_torrent_info_https_no_torrent
Test if a graceful error is returned when a valid HTTP address does not return a torrent.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:410
Methodtest_get_torrent_info_https_redirect_magnet_no_metainfo
Test if a graceful error is returned when no metainfo is available for a magnet returned by a HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:506
Methodtest_get_torrent_info_https_serverconnectionerror
Test if a graceful error is returned when a ServerConnectionError occurs when loading from an HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:313
Methodtest_get_torrent_info_https_sslerror
Test if a graceful error is returned when a SSLError occurs when loading from an HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:345
Methodtest_get_torrent_info_https_timeouterror
Test if a graceful error is returned when a TimeoutError occurs when loading from an HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:378
Methodtest_get_torrent_info_https_valueerror
Test if a graceful error is returned when a ValueError occurs when loading from an HTTPS link.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:394
Methodtest_get_torrent_info_magnet_no_metainfo
Test if a graceful error is returned when no metainfo is available for a magnet.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:162
Methodtest_get_torrent_info_magnet_runtimeerror_compat
Test if a graceful error is returned when a RuntimeError occurs when loading a magnet in compatibility mode.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:129
Methodtest_get_torrent_info_magnet_runtimeerror_modern
Test if a graceful error is returned when a RuntimeError occurs when loading a magnet.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:144
Methodtest_get_torrent_info_magnet_skip_metainfo
Test if an empty response is returned when no metainfo is available for a magnet and it is skipped.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:182
Methodtest_get_torrent_info_no_metainfo
Test if a graceful error is returned when no metainfo is available for a file.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:64
Methodtest_get_torrent_info_valid_download
Test if a valid download has its info returned correctly.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:530
Methodtest_get_torrent_info_valid_metainfo_request
Test if a valid metainfo request has its info returned correctly.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:548
Methodtest_get_torrent_no_download
Test if a graceful error is returned when no download is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:734
Methodtest_get_torrent_no_torrent_data
Test if a graceful error is returned when no torrent data is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:747
Methodtest_get_tracker_for_check_blacklist
Test if the next tracker for autocheck is not in the blacklist.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:112
Methodtest_get_tracker_for_check_known
Test if the correct tracker is returned when fetching the next eligible tracker for the auto check.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:105
Methodtest_get_tracker_for_check_unknown
Test if the no tracker is returned when fetching from no eligible trackers.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:99
Methodtest_get_tracker_status_get_peer_info_error
Test if a tracker status is returned when getting peer info leads to a RuntimeError.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:587
Methodtest_get_tracker_status_unicode_decode_error
Test if a tracker status is returned when getting trackers leads to a UnicodeDecodeError. See: https://github.com/Tribler/tribler/is
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:566
Methodtest_get_tribler_stats_no_mds
Test if getting Tribler stats without a MetadataStore gives empty Tribler statistics.
src/tribler/test_unit/core/restapi/test_statistics_endpoint.py:14
Methodtest_get_tribler_stats_with_mds
Test if getting Tribler stats forwards MetadataStore statistics.
src/tribler/test_unit/core/restapi/test_statistics_endpoint.py:27
← previousnext →1,301–1,400 of 1,819, ranked by callers