MCPcopy Create free account

hub / github.com/Tribler/tribler / functions

Functions1,819 in github.com/Tribler/tribler

Methodtest_get_uniformed_tracker_url_bad_url
Test if a HTTP URL bad URL encoding leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:105
Methodtest_get_uniformed_tracker_url_corrupt_url
Test if a URL with a corrupt URL leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:145
Methodtest_get_uniformed_tracker_url_empty
Test if an empty URL leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:153
Methodtest_get_uniformed_tracker_url_http_nbsp
Test if a HTTP URL with a trailing non-breaking space.
src/tribler/test_unit/core/libtorrent/test_trackers.py:81
Methodtest_get_uniformed_tracker_url_http_no_path
Test if a HTTP URL without a path leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:73
Methodtest_get_uniformed_tracker_url_http_no_port
Test if a HTTP URL without a port is not transformed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:89
Methodtest_get_uniformed_tracker_url_http_standard_port
Test if a HTTP URL with the standard port has its port removed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:97
Methodtest_get_uniformed_tracker_url_http_trailing_fwdslash
Test if a HTTP URL with a trailing forward slash has this postfix removed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:65
Methodtest_get_uniformed_tracker_url_https_no_port
Test if a HTTPS URL without a port is not transformed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:121
Methodtest_get_uniformed_tracker_url_https_standard_port
Test if a HTTPS URL with the standard port has its port removed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:129
Methodtest_get_uniformed_tracker_url_proper_http
Test if a proper HTTP URL is not transformed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:57
Methodtest_get_uniformed_tracker_url_proper_udp
Test if a proper UDP URL is not transformed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:17
Methodtest_get_uniformed_tracker_url_remove_path
Test if a UDP URL with a path has its path removed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:33
Methodtest_get_uniformed_tracker_url_trailing_other
Test if a UDP URL with trailing garbage leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:49
Methodtest_get_uniformed_tracker_url_trailing_zeros
Test if a UDP URL with trailing zeros has the zeros removed.
src/tribler/test_unit/core/libtorrent/test_trackers.py:41
Methodtest_get_uniformed_tracker_url_truncated
Test if a truncated HTTP URL leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:113
Methodtest_get_uniformed_tracker_url_udp_no_port
Test if a UDP URL without a port leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:25
Methodtest_get_uniformed_tracker_url_unknown_scheme
Test if a URL with an unknown scheme leads to a None value.
src/tribler/test_unit/core/libtorrent/test_trackers.py:137
Methodtest_get_v2_piece_hash
Test if the pieces are correctly returned for files.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:117
Methodtest_get_v2_piece_indices_per_layer
Test if the pieces are correctly returned for files.
src/tribler/test_unit/core/libtorrent/test_torrentdef.py:100
Methodtest_get_valid_next_tracker_for_auto_check
Test if only valid tracker url are used for auto check.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:244
Methodtest_get_versions
Check if we can find all three versions in our test directory.
src/tribler/test_unit/core/versioning/test_manager.py:48
Methodtest_get_versions_empty
Check if an empty list is returned if no versions exist.
src/tribler/test_unit/core/versioning/test_manager.py:55
Methodtest_health_check_blacklisted_trackers
Test if only cached results of a torrent are returned with only blacklisted trackers.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:96
Methodtest_health_check_cached
Test whether cached results of a torrent are returned when fetching the health of a torrent.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:111
Methodtest_health_items_payload
Test if HealthItemsPayload is correctly unpacked.
src/tribler/test_unit/core/database/test_serialization.py:152
Methodtest_health_items_payload_illegal_data
Test if HealthItemsPayload with illegal data gets error values.
src/tribler/test_unit/core/database/test_serialization.py:176
Methodtest_health_items_payload_missing_data
Test if HealthItemsPayload with missing data gets error values.
src/tribler/test_unit/core/database/test_serialization.py:168
Methodtest_health_items_payload_negative_data
Test if HealthItemsPayload with negatve data gets error values.
src/tribler/test_unit/core/database/test_serialization.py:184
Methodtest_health_items_payload_no_data
Test if HealthItemsPayload without data is correctly unpacked.
src/tribler/test_unit/core/database/test_serialization.py:160
Methodtest_hidden_services
Test an e2e anonymous download.
src/tribler/test_integration/test_hidden_services.py:227
Methodtest_homogeneous_adv_rate_limits
Check if the advanced rate limits are set somewhere, regardless of the time of day. Note: ``test_disabled_adv_rate_limits`` depends
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:782
Methodtest_http_request
Test an anonymous HTTP request.
src/tribler/test_integration/test_anon_download.py:239
Methodtest_http_request_payload
Test if HTTPRequestPayload initializes correctly.
src/tribler/test_unit/core/tunnel/test_payload.py:13
Methodtest_http_request_split
Test an anonymous HTTP request when the response is large enough to require sending multiple packets.
src/tribler/test_integration/test_anon_download.py:261
Methodtest_http_response_payload
Test if HTTPResponsePayload initializes correctly.
src/tribler/test_unit/core/tunnel/test_payload.py:25
Methodtest_http_unprocessed_infohashes
Test if a HTTP session that receives infohashes leads to a finished scrape.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:337
Methodtest_httpsession_bdecode_fails
Test if processing a scrape response of an empty (bencoded) dictionary leads to a ValueError.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:69
Methodtest_httpsession_cancel_operation
Test if a canceled task is propagated through the HTTP session.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:156
Methodtest_httpsession_code_not_200
Test if getting a HTTP code 400 leads to a ValueError when connecting.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:80
Methodtest_httpsession_failure_reason_in_dict
Test if processing a scrape response of a failed (bencoded) dictionary leads to a ValueError.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:94
Methodtest_httpsession_scrape_no_body
Test if processing a scrape response of None leads to a ValueError.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:58
Methodtest_httpsession_unicode_err
Test if connecting to a tracker with a unicode error in the url raises a UnicodeEncodeError.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:105
Methodtest_infohash_to_id
Test if ids are calculated by the first 8 bytes of an infohash.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:39
Methodtest_initialize
Test if DownloadState gets properly initialized from a download without a status.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:26
Methodtest_initialize_app
Test if base RESTEndpoints are initialized with an app.
src/tribler/test_unit/core/restapi/test_rest_endpoint.py:19
Methodtest_initialize_with_mocked_status
Test if DownloadState gets properly initialized from a download with a mocked status.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:66
Methodtest_initialize_with_status
Test if DownloadState gets properly initialized from a download with a status.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_state.py:47
Methodtest_int2time
Test if int2time normalizes timestamps based on the supplied epoch.
src/tribler/test_unit/core/database/test_serialization.py:34
Methodtest_invariant
If we are not at our target peer count, don't do anything.
src/tribler/test_unit/core/tunnel/test_discovery.py:58
Methodtest_is_upgrading
Check if the upgrading status is correctly returned.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:108
Methodtest_is_upgrading_no
Check if the non-upgrading status is correctly returned.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:121
Methodtest_is_valid_healthy
Test if health info with recent healthy seeders and leechers is valid.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:37
Methodtest_is_valid_no_leechers
Test if health info with negative leechers is invalid.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:21
Methodtest_is_valid_no_seeders
Test if health info with negative seeders is invalid.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:13
Methodtest_is_valid_old
Test if old info is invalid.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:29
Methodtest_key_middleware_invalid
Test if the api key middleware blocks invalid keys.
src/tribler/test_unit/core/restapi/test_rest_manager.py:53
Methodtest_key_middleware_valid_cookie
Test if the api key middleware allows keys passed in a cookie.
src/tribler/test_unit/core/restapi/test_rest_manager.py:99
Methodtest_key_middleware_valid_header
Test if the api key middleware allows keys passed in the header.
src/tribler/test_unit/core/restapi/test_rest_manager.py:87
Methodtest_key_middleware_valid_query
Test if the api key middleware allows keys passed in the query.
src/tribler/test_unit/core/restapi/test_rest_manager.py:76
Methodtest_key_middleware_valid_unprotected
Test if the api key middleware allow unprotected paths even with invalid keys.
src/tribler/test_unit/core/restapi/test_rest_manager.py:65
Methodtest_load_blacklist_from_file_multiple
Test if we correctly load blacklist entries from a file.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:139
Methodtest_load_blacklist_from_file_none
Test if we correctly load a blacklist without entries.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:121
Methodtest_load_blacklist_from_file_single
Test if we correctly load a blacklist entry from a file.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:130
Methodtest_load_checkpoint
Test if a checkpoint can be loaded.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:322
Methodtest_load_checkpoint_bad_url
Test if no checkpoint can be loaded from a file with a bad url.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:304
Methodtest_load_checkpoint_empty_metainfo
Test if no checkpoint can be loaded from a file with empty metainfo.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:292
Methodtest_load_checkpoint_file_not_found
Test if no checkpoint can be loaded if a specified file is not found.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:419
Methodtest_load_checkpoint_hybrid
Test if a hybrid torrent checkpoint can be loaded.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:341
Methodtest_load_checkpoint_no_metainfo
Test if no checkpoint can be loaded from a file with no metainfo.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:283
Methodtest_load_checkpoint_v2
Test if a v2 torrent checkpoint can be loaded.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:373
Methodtest_load_checkpoint_zeroed_engineresumedata
Test if no checkpoint is restored from uninitialized engineresumedata.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:402
Methodtest_load_legacy_checkpoint_enrich
Check if resume data with missing torrent info fetches its info from legacy metainfo. Deprecated functionality, remove later.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:676
Methodtest_load_legacy_checkpoint_full_legacy
Check if missing resume data treats the checkpoint as fully legacy. Deprecated functionality, remove later.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:661
Methodtest_load_torrents_check_from_db_allow_fresh_self_checked
Test if the torrents_checked does consider fresh self-checked torrents.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:151
Methodtest_load_torrents_check_from_db_no_self_checked
Test if the torrents_checked only considers self-checked torrents.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:125
Methodtest_load_torrents_check_from_db_only_fresh
Test if the torrents_checked only considers fresh torrents.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:138
Methodtest_local_search
Test if performing a local search returns mds results.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:169
Methodtest_local_search_bad_query
Test if a bad value leads to a bad request status.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:142
Methodtest_local_search_errored_search
Test if a search that threw an Exception leads to a bad request status. The exception here stems from the ``mds`` being set to ``Non
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:154
Methodtest_local_search_include_total
Test if performing a local search with requested total, includes a total.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:191
Methodtest_max_download_limit
Setting the download limit above sys.maxsize will crash with an OverflowError.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:896
Methodtest_max_upload_limit
Setting the upload limit above sys.maxsize will crash with an OverflowError.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:876
Methodtest_monitor_downloads_ignore_hidden
Test if hidden downloads get ignored by monitor_downloads.
src/tribler/test_unit/core/tunnel/test_community.py:172
Methodtest_monitor_downloads_intro
Test if rendezvous points are removed when a download is stopped.
src/tribler/test_unit/core/tunnel/test_community.py:232
Methodtest_monitor_downloads_leave_swarm
Test if we leave the swarm when a download is stopped.
src/tribler/test_unit/core/tunnel/test_community.py:221
Methodtest_monitor_downloads_recreate_ip
Test if an old introduction point is recreated.
src/tribler/test_unit/core/tunnel/test_community.py:204
Methodtest_monitor_downloads_stop_all
Test if circuits are removed when all downloads are stopped.
src/tribler/test_unit/core/tunnel/test_community.py:253
Methodtest_monitor_downloads_stop_ip
Test if we stop building IPs when a download doesn't exist anymore.
src/tribler/test_unit/core/tunnel/test_community.py:184
Methodtest_move_after_finish
Test if a move to a valid path is triggered after finishing.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:824
Methodtest_move_after_finish_empty_str
Test if a move to "" does not lead to a move.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:859
Methodtest_move_after_finish_unset
Test if a move to None does not lead to a move.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:841
Methodtest_move_storage
Test if storage can be moved.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:92
Methodtest_move_storage_no_metainfo
Test if storage is not moved for torrents without metainfo.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:107
Methodtest_much_older_than
Test if very old health info is older than new health info.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:69
Methodtest_no_files
Test if a request without files leads to a bad request status.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:35
Methodtest_no_forward_illegal_notification
Test if notifications are only forwarded if they are in the topics_to_send_to_gui whitelist.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:213
Methodtest_notify_too_little_args
Test if notifying with too little args raises a ValueError.
src/tribler/test_unit/core/test_notifier.py:54
Methodtest_notify_too_many_args
Test if notifying with too many args raises a ValueError.
src/tribler/test_unit/core/test_notifier.py:42
Methodtest_observer_too_little_args
Test if observing with too little args raises a TypeError.
src/tribler/test_unit/core/test_notifier.py:78
← previousnext →1,401–1,500 of 1,819, ranked by callers