selftests: add common method for checking presence of Python modules
There are at least two places in which the same functionality is
present. Let's make it a single utility function instead.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录