test: check the proxy fix's own steps, not every step the mixin runs #52
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user