mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
start make tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import re
|
||||
|
||||
|
||||
def set_description_message_pattern(pattern: str) -> None:
|
||||
first_check = re.fullmatch(r'.*{commmand}.*', pattern)
|
||||
second_check = re.fullmatch(r'.*{description}.*', pattern)
|
||||
print(bool(first_check))
|
||||
print(second_check)
|
||||
|
||||
|
||||
set_description_message_pattern('Invalid des{command}cription pattern')
|
||||
Reference in New Issue
Block a user