virttest: Fix utils_selinux module.
Fix the context_pattern in get_context_from_str method.
The old pattern will not match the '_' in context such as
'svirt_image_t'.
utils_selinux_unittest: replace assertIn with assertTrue.
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
Showing
想要评论请 注册 或 登录