slapos/tests: Refine the assertRegex calling
Python 3.12 completely drops assertRegex. Also this code keep the Python 2 compatibility.
Showing
Please register or sign in to comment
Python 3.12 completely drops assertRegex. Also this code keep the Python 2 compatibility.