Tt number
A Trouble Ticket number.
validate_tt_number(tt_number)
Validate a string to match a specific pattern.
This method checks if the input string starts with 'TT#' and is followed by exactly 16 digits.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
tt_number
|
str
|
The TT number as string to validate |
required |
Returns:
Type | Description |
---|---|
str
|
The TT number string if TT number match was successful, otherwise it will raise a ValueError. |