diff --git a/tests/integration_tests/modules/test_combined.py b/tests/integration_tests/modules/test_combined.py index 60254712b6d..9fc25e80958 100644 --- a/tests/integration_tests/modules/test_combined.py +++ b/tests/integration_tests/modules/test_combined.py @@ -228,7 +228,7 @@ def _check_common_metadata(self, data): assert v1_data["distro"] == image_spec.os assert v1_data["distro_release"] == image_spec.release assert v1_data["machine"] == "x86_64" - assert re.match(r"3.\d\.\d", v1_data["python_version"]) + assert re.match(r"3.\d+\.\d+", v1_data["python_version"]) @pytest.mark.lxd_container def test_instance_json_lxd(self, class_client: IntegrationInstance):