Skip to content

Commit d92e4e9

Browse files
committed
test.py: Wont go deep into subdirectories anymore
1 parent 78d3307 commit d92e4e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def find_leaf_nodes():
286286
# or ends with unit or integration -> no tests in those folders were
287287
# created
288288
if dirpath[2:].split('/')[0] in test_categories and dirpath.split('/')[-1] not in ['unit', 'integration']:
289-
if not dirnames:
289+
if len(dirpath[2:].split('/')) <= 3 and not dirnames:
290290
leaf_nodes.append(dirpath[2:])
291291

292292
return leaf_nodes

0 commit comments

Comments
 (0)