test: check the proxy fix's own steps, not every step the mixin runs #52

Merged
christianmanivong merged 1 commits from fix/apt-https-step into main 2026-11-01 07:13:43 +00:00
+4 -1
View File
@@ -169,7 +169,10 @@ class TestPackageProxyAndEngineAccess:
result = driver.configure_package_proxy("http://cache.lan:3142")
assert [s["step"] for s in result["steps"]] == ["configure", "conflicts", "verify", "fetch"]
# The steps napalm-device-types runs on this driver's transports; later ones
# (https, NetOrk/netork#1811) are the mixin's own.
steps = [s["step"] for s in result["steps"]]
assert steps[:4] == ["configure", "conflicts", "verify", "fetch"]
assert any("dists/trixie/InRelease" in c for c in ran)
def test_another_file_s_proxy_is_commented_out_as_root(self, driver):