]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! utils: modelling: SchemaNode documentation
authorVasek Sraier <git@vakabus.cz>
Wed, 22 Sep 2021 10:48:28 +0000 (12:48 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:53 +0000 (16:17 +0200)
manager/tests/utils/test_modeling.py

index 29ff8f70a472ff328afa96a7d10ba116410a7909..6881261aed7303b788e1b3ff4a1a330d968d239e 100644 (file)
@@ -180,6 +180,6 @@ def test_partial_mutations():
     assert o.workers == 8
     assert o.inner.size == 33
 
-    # raise validation ValueError
-    with raises(ValueError):
+    # raise validation SchemaException
+    with raises(SchemaException):
         o = ConfSchema(d.update("/", parse_json('{"workers": -5}')))