inputs: tweak containers-storage implementation
This commit tweaks the excellent work from Gianluca in PR#1550 a little bit. Now that the container inputs are their own input type some of the code that used to be part of the original `inputs/org.osbuild.containers` can be simplified.
This commit is contained in:
parent
882c9efbc1
commit
b5355c46ac
2 changed files with 9 additions and 21 deletions
|
|
@ -55,7 +55,7 @@ def test_containers_local_inputs_integration(tmp_path, inputs_module):
|
|||
}
|
||||
}
|
||||
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
cnt_inputs = inputs_module.ContainersInput.from_args(["--service-fd", str(sock.fileno())])
|
||||
cnt_inputs = inputs_module.ContainersStorageInput.from_args(["--service-fd", str(sock.fileno())])
|
||||
store = FakeStoreClient(tmp_path / "fake-sources")
|
||||
# not using "tmp_path" here as it will "rm -rf" on cleanup and
|
||||
# that is dangerous as during the tests we bind mount the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue