MCPcopy Create free account

hub / github.com/CorralPeltzer/newTrackon / functions

Functions657 in github.com/CorralPeltzer/newTrackon

Methodtest_enqueue_newline_separated_urls
Test parsing newline-separated tracker URLs.
tests/unit/test_trackon.py:71
Methodtest_enqueue_single_url
Test enqueueing a single URL.
tests/unit/test_trackon.py:135
Methodtest_enqueue_space_separated_urls
Test parsing space-separated tracker URLs.
tests/unit/test_trackon.py:50
Methodtest_enqueue_tab_separated_urls
Test parsing tab-separated tracker URLs.
tests/unit/test_trackon.py:85
Methodtest_ensure_db_existence_creates_db_when_missing
Test that ensure_db_existence calls create_db when file doesn't exist.
tests/unit/test_db.py:1192
Methodtest_ensure_db_existence_does_not_recreate_existing_db
Test that ensure_db_existence doesn't recreate an existing database.
tests/unit/test_db.py:1205
Methodtest_exclude_both_ipv4_and_ipv6_only
Excluding both should only return dual-stack trackers.
tests/integration/test_api_endpoints.py:935
Methodtest_exclude_ipv4_only_trackers
include_ipv4_only_trackers=false should exclude IPv4-only trackers.
tests/integration/test_api_endpoints.py:907
Methodtest_exclude_ipv6_only_trackers
include_ipv6_only_trackers=false should exclude IPv6-only trackers.
tests/integration/test_api_endpoints.py:921
Methodtest_extra_whitespace
Should handle extra whitespace between entries.
tests/unit/test_utils.py:699
Methodtest_filters_work_with_api_all
IP filters should work with /api/all endpoint.
tests/integration/test_api_endpoints.py:985
Methodtest_filters_work_with_api_stable
IP filters should work with /api/stable endpoint.
tests/integration/test_api_endpoints.py:973
Methodtest_from_url_creates_tracker
Test that from_url creates a Tracker with correct initial values.
tests/unit/test_tracker.py:286
Methodtest_from_url_dns_failure_raises
Test that from_url raises RuntimeError when DNS resolution fails.
tests/unit/test_tracker.py:341
Methodtest_from_url_invalid_scheme_raises
Test that from_url raises RuntimeError for invalid scheme.
tests/unit/test_tracker.py:336
Methodtest_from_url_orders_ipv6_first
Test that from_url orders IPv6 addresses before IPv4.
tests/unit/test_tracker.py:323
Methodtest_from_url_resolves_ipv4
Test that from_url resolves IPv4 addresses.
tests/unit/test_tracker.py:301
Methodtest_from_url_resolves_ipv6
Test that from_url resolves IPv6 addresses.
tests/unit/test_tracker.py:312
Methodtest_from_url_sets_added_timestamp
Test that from_url sets the added timestamp.
tests/unit/test_tracker.py:348
Methodtest_full_enqueue_and_process_flow
Test the full flow from enqueueing to processing.
tests/unit/test_trackon.py:873
Methodtest_full_submission_flow_integration
Test complete flow from URL submission to database insertion.
tests/integration/test_tracker_workflow.py:422
Methodtest_full_tracker_response_no_peers
Decode a full tracker response without peers.
tests/unit/test_bdecode.py:501
Methodtest_get_about_returns_200
GET /about should return 200 OK.
tests/integration/test_api_endpoints.py:1047
Methodtest_get_all_data_deserializes_countries
Verify that countries are deserialized from JSON.
tests/unit/test_db.py:314
Methodtest_get_all_data_deserializes_country_codes
Verify that country codes are deserialized from JSON.
tests/unit/test_db.py:322
Methodtest_get_all_data_deserializes_historic_as_deque
Verify that historic is deserialized as a deque with maxlen.
tests/unit/test_db.py:338
Methodtest_get_all_data_deserializes_ips
Verify that IPs are deserialized from JSON.
tests/unit/test_db.py:306
Methodtest_get_all_data_deserializes_networks
Verify that networks are deserialized from JSON.
tests/unit/test_db.py:330
Methodtest_get_all_data_orders_by_uptime_descending
Verify that trackers are ordered by uptime in descending order.
tests/unit/test_db.py:370
Methodtest_get_all_data_returns_correct_host
Verify that returned Tracker has correct host.
tests/unit/test_db.py:290
Methodtest_get_all_data_returns_correct_scalar_fields
Verify that scalar fields are returned correctly.
tests/unit/test_db.py:348
Methodtest_get_all_data_returns_correct_url
Verify that returned Tracker has correct URL.
tests/unit/test_db.py:298
Methodtest_get_all_data_returns_empty_list_when_no_trackers
Verify that get_all_data returns empty list when DB is empty.
tests/unit/test_db.py:364
Methodtest_get_all_data_returns_tracker_objects
Verify that get_all_data returns a list of Tracker objects.
tests/unit/test_db.py:281
Methodtest_get_api_all_includes_low_uptime_trackers
GET /api/all should include trackers with low uptime.
tests/integration/test_api_endpoints.py:358
Methodtest_get_api_all_returns_all_trackers
GET /api/all should return all trackers regardless of uptime.
tests/integration/test_api_endpoints.py:351
Methodtest_get_api_all_with_min_age_days_filters_new_trackers
GET /api/all should apply min_age_days filtering.
tests/integration/test_api_endpoints.py:390
Methodtest_get_api_best_follow_redirect
GET /api/best following redirect should return stable trackers.
tests/integration/test_api_endpoints.py:341
Methodtest_get_api_best_redirects_to_stable
GET /api/best should redirect to /api/stable with 301.
tests/integration/test_api_endpoints.py:335
Methodtest_get_api_data_empty_database
Verify get_api_data returns empty string for empty database.
tests/unit/test_db.py:948
Methodtest_get_api_data_exclude_ipv4_only
Verify include_ipv4_only=False filters out IPv4-only trackers.
tests/unit/test_db.py:842
Methodtest_get_api_data_exclude_ipv6_only
Verify include_ipv6_only=False filters out IPv6-only trackers.
tests/unit/test_db.py:895
Methodtest_get_api_data_http_returns_http_and_https_trackers
Verify /api/http returns HTTP and HTTPS trackers with uptime >= 95.
tests/unit/test_db.py:771
Methodtest_get_api_data_live_returns_all_live_trackers
Verify /api/live returns all trackers with status=1.
tests/unit/test_db.py:790
Methodtest_get_api_data_orders_by_uptime_descending
Verify results are ordered by uptime in descending order.
tests/unit/test_db.py:834
Methodtest_get_api_data_percentage_returns_trackers_above_threshold
Verify percentage query returns trackers with uptime >= threshold.
tests/unit/test_db.py:802
Methodtest_get_api_data_percentage_zero_returns_all_trackers
Verify percentage query with 0 returns all trackers.
tests/unit/test_db.py:814
Methodtest_get_api_data_returns_formatted_string
Verify get_api_data returns properly formatted string.
tests/unit/test_db.py:824
Methodtest_get_api_data_udp_returns_udp_trackers
Verify /api/udp returns only UDP trackers with uptime >= 95.
tests/unit/test_db.py:780
Methodtest_get_api_docs_returns_200
GET /api should return 200 OK.
tests/integration/test_api_endpoints.py:1042
Methodtest_get_api_http_excludes_udp_trackers
GET /api/http should exclude UDP trackers.
tests/integration/test_api_endpoints.py:744
Methodtest_get_api_http_includes_https_trackers
GET /api/http should include HTTPS trackers (starts with http).
tests/integration/test_api_endpoints.py:712
Methodtest_get_api_http_returns_http_trackers
GET /api/http should return HTTP trackers with >= 95% uptime.
tests/integration/test_api_endpoints.py:681
Methodtest_get_api_http_with_min_age_days_filters_new_trackers
GET /api/http should apply min_age_days filtering.
tests/integration/test_api_endpoints.py:751
Methodtest_get_api_live_excludes_offline_trackers
GET /api/live should exclude offline trackers.
tests/integration/test_api_endpoints.py:459
Methodtest_get_api_live_returns_online_trackers
GET /api/live should return currently online trackers.
tests/integration/test_api_endpoints.py:451
Methodtest_get_api_live_with_min_age_days_filters_new_trackers
GET /api/live should apply min_age_days filtering.
tests/integration/test_api_endpoints.py:491
Methodtest_get_api_percentage_100_returns_only_perfect
GET /api/100 should only return trackers with 100% uptime.
tests/integration/test_api_endpoints.py:131
Methodtest_get_api_percentage_filters_by_uptime
GET /api/<percentage> should exclude trackers below threshold.
tests/integration/test_api_endpoints.py:118
Methodtest_get_api_percentage_invalid_above_100_returns_400
GET /api/<percentage> with percentage > 100 should return 400.
tests/integration/test_api_endpoints.py:140
Methodtest_get_api_percentage_negative_returns_400
GET /api/<percentage> with negative percentage should return 400.
tests/integration/test_api_endpoints.py:148
Methodtest_get_api_percentage_returns_filtered_trackers
GET /api/<percentage> should return trackers with uptime >= percentage.
tests/integration/test_api_endpoints.py:106
Methodtest_get_api_percentage_with_invalid_min_age_days_returns_400
GET /api/<percentage> should reject invalid min_age_days values.
tests/integration/test_api_endpoints.py:213
Methodtest_get_api_percentage_with_min_age_days_filters_new_trackers
GET /api/<percentage> should apply min_age_days filtering.
tests/integration/test_api_endpoints.py:156
Methodtest_get_api_percentage_zero_returns_all
GET /api/0 should return all trackers.
tests/integration/test_api_endpoints.py:125
Methodtest_get_api_stable_excludes_below_95
GET /api/stable should exclude trackers below 95% uptime.
tests/integration/test_api_endpoints.py:234
Methodtest_get_api_stable_returns_95_percent_trackers
GET /api/stable should return trackers with >= 95% uptime.
tests/integration/test_api_endpoints.py:224
Methodtest_get_api_stable_with_invalid_min_age_days_returns_400
min_age_days should be a non-negative integer.
tests/integration/test_api_endpoints.py:321
Methodtest_get_api_stable_with_min_age_days_zero_includes_new_trackers
min_age_days=0 should disable the age filter and include newer trackers.
tests/integration/test_api_endpoints.py:264
Methodtest_get_api_udp_excludes_http_trackers
GET /api/udp should exclude HTTP trackers.
tests/integration/test_api_endpoints.py:560
Methodtest_get_api_udp_excludes_low_uptime_udp
GET /api/udp should exclude UDP trackers with < 95% uptime.
tests/integration/test_api_endpoints.py:590
Methodtest_get_api_udp_returns_udp_trackers
GET /api/udp should return UDP trackers with >= 95% uptime.
tests/integration/test_api_endpoints.py:552
Methodtest_get_api_udp_with_min_age_days_filters_new_trackers
GET /api/udp should apply min_age_days filtering.
tests/integration/test_api_endpoints.py:620
Methodtest_get_bep_34_deny_connection
Test BEP34 record that denies connection (BITTORRENT only).
tests/unit/test_scraper.py:537
Methodtest_get_bep_34_multiple_records
Test with multiple TXT records, one being BEP34.
tests/unit/test_scraper.py:551
Methodtest_get_bep_34_no_record
Test when no TXT record exists.
tests/unit/test_scraper.py:513
Methodtest_get_bep_34_non_bittorrent_record
Test when TXT record doesn't start with BITTORRENT.
tests/unit/test_scraper.py:523
Methodtest_get_bep_34_valid_record
Test parsing valid BEP34 TXT record.
tests/unit/test_scraper.py:499
Methodtest_get_faq_returns_200
GET /faq should return 200 OK.
tests/integration/test_api_endpoints.py:1032
Methodtest_get_list_returns_200
GET /list should return 200 OK.
tests/integration/test_api_endpoints.py:1037
Methodtest_get_main_page_returns_200
GET / should return 200 OK.
tests/integration/test_api_endpoints.py:16
Methodtest_get_main_page_with_trackers
GET / should display trackers from database.
tests/integration/test_api_endpoints.py:21
Methodtest_get_raw_returns_200
GET /raw should return 200 OK.
tests/integration/test_api_endpoints.py:1017
Methodtest_get_raw_with_data
GET /raw should render the raw template.
tests/integration/test_api_endpoints.py:1022
Methodtest_get_server_ip_v4
Test getting IPv4 address.
tests/unit/test_scraper.py:1043
Methodtest_get_server_ip_v6
Test getting IPv6 address.
tests/unit/test_scraper.py:1053
Methodtest_get_submitted_returns_200
GET /submitted should return 200 OK.
tests/integration/test_api_endpoints.py:1001
Methodtest_get_submitted_with_data
GET /submitted should render the submitted template.
tests/integration/test_api_endpoints.py:1006
Methodtest_handles_attempt_submitted_runtime_error
Test that RuntimeError from attempt_submitted is handled.
tests/unit/test_trackon.py:562
Methodtest_handles_attempt_submitted_value_error
Test that ValueError from attempt_submitted is handled.
tests/unit/test_trackon.py:581
Methodtest_handles_tracker_from_url_runtime_error
Test that RuntimeError from Tracker.from_url is handled.
tests/unit/test_trackon.py:252
Methodtest_handles_tracker_from_url_value_error
Test that ValueError from Tracker.from_url is handled.
tests/unit/test_trackon.py:270
Methodtest_handles_trackers_with_no_ips
Test duplicate detection when some trackers have no IPs.
tests/unit/test_trackon.py:754
Methodtest_history_fifo_order_preserved
Test that FIFO order is maintained during overflow.
tests/unit/test_persistence.py:226
Methodtest_http_port_value
Test HTTP_PORT constant.
tests/unit/test_scraper.py:1066
Methodtest_http_tracker_goes_down
Test HTTP tracker going down.
tests/integration/test_tracker_workflow.py:310
Methodtest_http_with_port
Should build HTTP URL preserving explicit port.
tests/unit/test_utils.py:744
Methodtest_http_without_port
Should build HTTP URL with default port 80.
tests/unit/test_utils.py:752
Methodtest_https_with_port
Should build HTTPS URL preserving explicit port.
tests/unit/test_utils.py:728
Methodtest_https_without_port
Should build HTTPS URL with default port 443.
tests/unit/test_utils.py:736
← previousnext →301–400 of 657, ranked by callers