diff --git a/tests/test_libzim_creator.py b/tests/test_libzim_creator.py index 3d8ca5c7..2dff2ce7 100644 --- a/tests/test_libzim_creator.py +++ b/tests/test_libzim_creator.py @@ -605,6 +605,7 @@ def test_hints_values(fpath): c.add_item(StaticItem(path="5", title="", hints={5: True})) c.add_item(StaticItem(path="6", title="", hints={"yolo": True})) c.add_item(StaticItem(path="7", title="", hints={"FRONT_ARTICLE": True})) + c.add_item(StaticItem(path="8", title="", hints={0: True})) # non-existent Hint with pytest.raises(AttributeError, match="YOLO"):