Fixed unit tests !

This commit is contained in:
2026-03-22 08:37:07 +01:00
parent b8fd4e5ed1
commit d3c0381e34
2 changed files with 7 additions and 1 deletions

View File

@@ -72,6 +72,12 @@ class EndsWith(AttrPredicate):
class Contains(AttrPredicate):
def __init__(self, *value, _word=False):
"""
Initializes the instance with the given value and optional private attribute `_word`.
:param value:
:param _word: Matches the entire word if True, otherwise matches any substring.
"""
super().__init__(value)
self._word = _word