Skip to content

Commit

Permalink
tests: update test to match improved error message
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 9, 2024
1 parent 1b37c21 commit 0e9db9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/tests/api_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0e9db9c

Please sign in to comment.