debian-forge/test
Michael Vogt edbf409a40 osbuild: fix missing initialization of fd in osbuild.loop.Loop
When osbuild.loop.Loop calls `__init__()` it assigns the `self.fd`
on open. However if that open call fails for whatever reason
(not found, permissions) the cleanup in `__del__` will fail in
confusing ways because `self.fd` is not initialized yet. It
also prevents the correct error from getting reported. A tiny
test is added to ensure this does not regress.
2023-11-23 14:01:53 +01:00
..
cases tests: add metal output to fedora-coreos-container manifest 2023-11-14 23:58:08 +01:00
data stages: add org.osbuild.update-crypto-policies stage 2023-11-15 17:15:10 +01:00
mod osbuild: fix missing initialization of fd in osbuild.loop.Loop 2023-11-23 14:01:53 +01:00
run tests: remove custom tmpdir() fixtures and use tmp_path 2023-11-23 13:09:25 +01:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
conftest.py Test: add ability to skip tests for unsupported file-systems 2023-04-21 17:13:10 +02:00
initrd.py autopep8: Update with changes to make autopep8 -a -a -a happy 2023-08-10 13:04:14 +02:00
test.py test,tools: use sys.executable instead of hardcoding python3 2023-11-14 20:34:50 +01:00