selftests/unit/test_utils_partition.py: also treat raised OSError
When skipping tests due to the lack of sudo permissions, OSError
can be raised when the asked binary does not exist and can not be
executed.
In an ideal world, only one "skip" decorator would have to run, and
this extra treatment wouldn't be necessary since there's already a
`missing_binary` being used. Unfortunately, that's not how they work.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录