Skip to content

Commit c28b971

Browse files
committed
Fix a string match in test_resources.py
Signed-off-by: Cong Wang <cwang@multikernel.io>
1 parent c597e14 commit c28b971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_validate_cpu_allocation_invalid_cpu(self, sample_tree):
7070
# Request CPU that doesn't exist
7171
requested_cpus = [999]
7272

73-
with pytest.raises(ResourceError, match="Invalid CPUs requested"):
73+
with pytest.raises(ResourceError, match="Invalid APIC IDs requested"):
7474
validate_cpu_allocation(sample_tree, requested_cpus)
7575

7676
def test_validate_cpu_allocation_with_exclusion(self, sample_tree):

0 commit comments

Comments
 (0)