Fixed unit tests !
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user