1
0

Support ContractTest
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 23s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 21s

This commit is contained in:
Jon Michael Aanes 2025-04-15 10:59:14 +02:00
parent 55cc962665
commit bda506a2c0

View File

@ -63,7 +63,7 @@ TEST_PATTERN: re.Pattern = re.compile(
+ r'(?:'
+ PATTERN_DISPLAY_NAME_1
+ r'\s*)?'
+ r'@(?P<annotation>Test|BeforeEach|ParameterizedTest)\s*'
+ r'@(?P<annotation>Test|BeforeEach|ParameterizedTest|ContractTest(\([^\n]*\))?)\s*'
+ r'(?:'
+ PATTERN_DISPLAY_NAME_2
+ r'\s*)?'