ByteStreamExpectation¶
- class ByteStreamExpectation¶
Returned by
- Clone()¶
Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.
- Returns:
A copy of this object
- Return type:
- GetExpression()¶
Returns the expectation expression.
- Returns:
The expectation expression
- Return type:
str
- GetMaskExpression()¶
Returns the mask expression.
- Returns:
The mask expression
- Return type:
str
- SetExpression(expression)¶
Sets the expectation expression.
- Parameters:
- expression : str¶
The expectation expression, e.g. “ByteStream(‘00:00:00:00:00:00:00:00’)”
- SetMaskExpression(expression)¶
Sets the mask expression.
- Parameters:
- expression : str¶
The mask expression, e.g. “ByteStream(‘FF:FF:FF:FF:FF:FF:FF:FF’)”