From 0e9db9c892514b61c28a9a0b62d0bd353b3f19b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 10 Oct 2024 01:47:11 +0200 Subject: [PATCH] tests: update test to match improved error message --- qubes/tests/api_admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/tests/api_admin.py b/qubes/tests/api_admin.py index 780e6c24d..357104109 100644 --- a/qubes/tests/api_admin.py +++ b/qubes/tests/api_admin.py @@ -156,7 +156,7 @@ def test_001_vm_list_single_uuid(self): def test_001_vm_list_single_invalid_name(self): with self.assertRaisesRegex(qubes.exc.QubesValueError, - r"\AVM name contains illegal characters\Z"): + r"\AVM name cannot start with hyphen, underscore, dot or numbers\Z"): self.call_mgmt_func(b'admin.vm.CreateDisposable', b'.test-vm1') self.assertFalse(self.app.save.called)