Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CorralPeltzer/newTrackon
/ functions
Functions
657 in github.com/CorralPeltzer/newTrackon
⨍
Functions
657
◇
Types & classes
106
↳
Endpoints
64
Method
test_update_ips_empty_result_raises
Test that update_ips raises RuntimeError when no IPs returned.
tests/unit/test_tracker.py:500
Method
test_update_ips_orders_ipv6_before_ipv4
Test that update_ips orders IPv6 addresses before IPv4.
tests/unit/test_tracker.py:469
Method
test_update_ips_rejects_loopback
Test that update_ips rejects loopback addresses.
tests/unit/test_tracker.py:531
Method
test_update_ips_rejects_non_global_ipv4
Test that update_ips rejects private/non-global IPv4 addresses.
tests/unit/test_tracker.py:507
Method
test_update_ips_rejects_non_global_ipv6
Test that update_ips rejects non-global IPv6 addresses (documentation prefix).
tests/unit/test_tracker.py:519
Method
test_update_ips_rejects_unspecified
Test that update_ips rejects unspecified address (0.0.0.0).
tests/unit/test_tracker.py:543
Method
test_update_ips_resolves_ipv4
Test that update_ips resolves IPv4 addresses.
tests/unit/test_tracker.py:449
Method
test_update_ips_resolves_ipv6
Test that update_ips resolves IPv6 addresses.
tests/unit/test_tracker.py:459
Method
test_update_ips_with_multiple_address_families
Test update_ips handles multiple address families correctly.
tests/unit/test_tracker.py:914
Method
test_update_preserves_json_structure
Verify update_tracker preserves JSON structure for list fields.
tests/unit/test_db.py:1103
Method
test_update_status_announce_failure
Test update_status when announce fails.
tests/unit/test_tracker.py:609
Method
test_update_status_dns_failure
Test update_status handles DNS resolution failure.
tests/unit/test_tracker.py:641
Method
test_update_status_http_success
Test update_status with successful HTTP announce.
tests/unit/test_tracker.py:584
Method
test_update_status_marks_old_tracker_for_deletion
Test that tracker unresponsive for too long is marked for deletion.
tests/unit/test_tracker.py:629
Method
test_update_status_sets_interval_when_uptime_zero
Test that interval is set to 10800 when uptime is 0.
tests/unit/test_tracker.py:653
Method
test_update_status_udp_success
Test update_status with successful UDP announce.
tests/unit/test_tracker.py:559
Method
test_update_status_updates_latency
Verify latency is calculated and stored after successful scrape.
tests/integration/test_tracker_workflow.py:153
Method
test_update_status_with_successful_scrape
Insert tracker in DB, call update_status() with mocked scraper, verify status, uptime, historic updated, and db.update_tracker() persists chan
tests/integration/test_tracker_workflow.py:74
Method
test_update_tracker_updates_countries_with_json
Verify that update_tracker JSON serializes updated countries.
tests/unit/test_db.py:488
Method
test_update_tracker_updates_country_codes_with_json
Verify that update_tracker JSON serializes updated country codes.
tests/unit/test_db.py:502
Method
test_update_tracker_updates_historic_with_json
Verify that update_tracker JSON serializes updated historic.
tests/unit/test_db.py:474
Method
test_update_tracker_updates_interval
Verify that update_tracker updates interval.
tests/unit/test_db.py:543
Method
test_update_tracker_updates_ips_with_json
Verify that update_tracker JSON serializes updated IPs.
tests/unit/test_db.py:460
Method
test_update_tracker_updates_last_checked
Verify that update_tracker updates last_checked.
tests/unit/test_db.py:530
Method
test_update_tracker_updates_last_downtime
Verify that update_tracker updates last_downtime.
tests/unit/test_db.py:556
Method
test_update_tracker_updates_last_uptime
Verify that update_tracker updates last_uptime.
tests/unit/test_db.py:569
Method
test_update_tracker_updates_latency
Verify that update_tracker updates latency.
tests/unit/test_db.py:421
Method
test_update_tracker_updates_networks_with_json
Verify that update_tracker JSON serializes updated networks.
tests/unit/test_db.py:516
Method
test_update_tracker_updates_status
Verify that update_tracker updates status.
tests/unit/test_db.py:434
Method
test_update_tracker_updates_uptime
Verify that update_tracker updates uptime.
tests/unit/test_db.py:447
Method
test_update_tracker_updates_url
Verify that update_tracker updates the URL field.
tests/unit/test_db.py:408
Method
test_update_uptime_75_percent
Test uptime calculation with 75% uptime.
tests/unit/test_tracker.py:383
Method
test_update_uptime_all_down
Test uptime calculation when all entries are down.
tests/unit/test_tracker.py:371
Method
test_update_uptime_all_up
Test uptime calculation when all entries are up.
tests/unit/test_tracker.py:365
Method
test_update_uptime_mixed
Test uptime calculation with mixed up/down entries.
tests/unit/test_tracker.py:377
Method
test_update_uptime_single_entry_down
Test uptime calculation with single down entry.
tests/unit/test_tracker.py:395
Method
test_update_uptime_single_entry_up
Test uptime calculation with single up entry.
tests/unit/test_tracker.py:389
Method
test_updates_submitted_data_with_rejection
Test that log_wrong_interval_denial updates submitted_data correctly.
tests/unit/test_trackon.py:816
Method
test_validate_url_adds_announce_path
Test that /announce path is added to URL.
tests/unit/test_tracker.py:194
Method
test_validate_url_http_scheme
Test that HTTP scheme is accepted.
tests/unit/test_tracker.py:106
Method
test_validate_url_https_scheme
Test that HTTPS scheme is accepted.
tests/unit/test_tracker.py:128
Method
test_validate_url_invalid_characters_in_netloc
Test that invalid characters in netloc are rejected.
tests/unit/test_tracker.py:238
Method
test_validate_url_invalid_scheme_ftp
Test that FTP scheme is rejected.
tests/unit/test_tracker.py:172
Method
test_validate_url_invalid_scheme_ws
Test that WebSocket scheme is rejected.
tests/unit/test_tracker.py:150
Method
test_validate_url_replaces_existing_path
Test that existing path is replaced with /announce.
tests/unit/test_tracker.py:216
Method
test_validate_url_udp_scheme
Test that UDP scheme is accepted.
tests/unit/test_tracker.py:84
Method
test_validate_url_with_spaces
Test that spaces in URL are rejected.
tests/unit/test_tracker.py:260
Method
test_various_data_types
Should handle various SQLite data types.
tests/unit/test_utils.py:112
Method
test_warn_of_ip_conflicts_periodically_runs_every_120_seconds
warn_of_ip_conflicts_periodically should run loop body every 120 seconds.
tests/unit/test_trackon.py:1053
Method
test_warn_of_ip_conflicts_uses_single_db_snapshot
warn_of_ip_conflicts should fetch data once and fan out to both warning paths.
tests/unit/test_trackon.py:1036
Method
test_working_tracker_never_down
Should show 'Working' for tracker that was never down.
tests/unit/test_utils.py:349
Method
test_working_tracker_with_last_downtime
Should format working tracker with downtime history.
tests/unit/test_utils.py:335
Method
test_working_tracker_with_zero_downtime
Should show 'Working' when last_downtime is 0 (falsy).
tests/unit/test_utils.py:361
Method
test_zero_seconds
Should return '0 seconds' for current time.
tests/unit/test_utils.py:154
Function
update_outdated_trackers
()
newTrackon/trackon.py:30
Function
update_tracker
(tracker: Tracker)
newTrackon/db.py:46
Function
warn_of_ip_conflicts_periodically
()
newTrackon/trackon.py:98
← previous
601–657 of 657, ranked by callers