mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
assert that the test is getting parametrized correctly (#9859)
Otherwise this may end up generating 0 or not enough commands, and passing tests
This commit is contained in:
@@ -25,6 +25,10 @@ def command_tuples():
|
||||
|
||||
main_parser = get_main_parser()
|
||||
recurse_parser(main_parser)
|
||||
|
||||
# the no. of commands will usually go up,
|
||||
# but if we ever remove commands and drop below, adjust the magic number accordingly
|
||||
assert len(commands) >= 96
|
||||
return sorted(commands)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user