Skip to content

Commit 05cf0d8

Browse files
authored
chore(docs): add non forks to test case reference. (#1517)
1 parent 2f42f60 commit 05cf0d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pytest_plugins/filler/gen_test_doc/gen_test_doc.py

+2
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,8 @@ def sort_by_fork_deployment_and_path(x: PageProps) -> Tuple[Any, ...]:
566566
length = len(x.path.parts)
567567
if length > 1:
568568
fork = str(x.path.parts[1]).lower() # the fork folder from the relative path
569+
if fork not in fork_order: # speculative features added to the end
570+
return (999, str(x.path))
569571
if length == 1:
570572
return (0,)
571573
elif length == 2:

0 commit comments

Comments
 (0)