1
0

Trying to test for weird corner case
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:43:12 +02:00
parent a771efc4cb
commit 8aa88feae3
2 changed files with 16 additions and 1 deletions

View File

@ -87,7 +87,9 @@ def main():
)
num_modified = 0
for path in test_files(args.repo):
relevant_files = list(test_files(args.repo))
logger.info('Found %d test files', len(relevant_files))
for path in relevant_files:
was_modified = standardize_in_file(
path,
inline=args.i,

View File

@ -124,6 +124,18 @@ import org.junit.jupiter.api.DisplayName;
public void zkBinderContextImplPropagatesLotFieldsDirectlyFromUnderlyingZkBinderContext()
"""
INPUT_6 = """
/** Fail when uploading the wrong share */
@ContractTest(previous = "registerSharing")
void TODO2() {
"""
OUTPUT_6 = """
/** Fail when uploading the wrong share */
@ContractTest(previous = "registerSharing")
void failWhenUploadingTheWrongShare() {
"""
JAVADOC_TO_DISPLAYNAME = [
(INPUT_1, OUTPUT_1),
(INPUT_2, OUTPUT_2),
@ -133,6 +145,7 @@ JAVADOC_TO_DISPLAYNAME = [
(INPUT_5B, OUTPUT_5),
(INPUT_5C, OUTPUT_5),
(INPUT_5D, OUTPUT_5),
(INPUT_6, OUTPUT_6),
]