LabelSubject¶
LabelSubject.new¶
Creates a new LabelSubject
for asserting Label
objects.
Method: LabelSubject.new
PARAMETERS ¶
- label¶:
(
Label
) the label to check against.- meta¶:
(
ExpectMeta
) the metadata about the call chain.
- RETURNS ¶
LabelSubject.equals¶
LabelSubject.equals(other)
Asserts the label is equal to other
.
Method: LabelSubject.equals
PARAMETERS ¶
LabelSubject.is_in¶
LabelSubject.is_in(any_of)
Asserts that the label is any of the provided values.
PARAMETERS ¶