Merge pull request 'test: check the proxy fix's own steps, not every step the mixin runs' (#52) from fix/apt-https-step into main
driver / standard (push) Successful in 23s
driver / lint (push) Successful in 17s
driver / types (push) Successful in 1m11s
driver / test (3.12) (push) Successful in 1m11s
driver / test (3.13) (push) Successful in 1m2s
driver / lowest (push) Successful in 34s
driver / build (push) Successful in 32s
driver / security (push) Successful in 1m11s
CI / driver (push) Successful in 3m2s
driver / publish (push) Skipped
driver / standard (push) Successful in 23s
driver / lint (push) Successful in 17s
driver / types (push) Successful in 1m11s
driver / test (3.12) (push) Successful in 1m11s
driver / test (3.13) (push) Successful in 1m2s
driver / lowest (push) Successful in 34s
driver / build (push) Successful in 32s
driver / security (push) Successful in 1m11s
CI / driver (push) Successful in 3m2s
driver / publish (push) Skipped
This commit was merged in pull request #52.
This commit is contained in:
commit
f49d1ca7f5
1 file changed
+4
-1
@@ -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