test: delete slow, timing-based and redundant tests

This commit is contained in:
imSp4rky
2026-12-05 15:20:05 -07:00
parent 783a2fc185
commit 3a0a74e694
292 changed files with 153 additions and 15174 deletions
-7
View File
@@ -62,13 +62,6 @@ def test_proxied_lookup_ignores_env_proxy(monkeypatch):
assert settings["proxies"]["https"] == "http://127.0.0.1:2"
def test_local_lookup_keeps_env_proxy(monkeypatch):
monkeypatch.setenv("HTTPS_PROXY", "http://127.0.0.1:1")
sess = ip_info.lookup_session(None)
settings = sess.merge_environment_settings("https://ipinfo.io/json", {}, None, None, None)
assert settings["proxies"]["https"] == "http://127.0.0.1:1"
def test_get_ip_info_collects_connection_errors_only(monkeypatch):
def refused(session):
raise OSError("refused")