Skip to content
Snippets Groups Projects
Verified Commit 041fc36f authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

update docstring in TT-number validation method

parent 5635f954
No related branches found
No related tags found
1 merge request!159Feature/nat 410 add validator for tty number
Pipeline #85746 passed
......@@ -280,8 +280,7 @@ def validate_tt_number(tt_number: str) -> str:
:param str tt_number: The TT number as string to validate
:return str: The tt number string, if tt number match was successful, otherwise it will throw a ValueError
exception.
:return str: The TT number string if TT number match was successful, otherwise it will raise a ValueError.
"""
pattern = r"^TT#\d{16}$"
if not bool(re.match(pattern, tt_number)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment