tests: Fix Python 3.12 warning
Python 3.12 warns about invalid escape sequence '\s'. It is still
correctly converted, but I guess it is better to escape '\' character
properly to avoid future breakage.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>