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:
skshetry
2023-08-19 13:57:48 +05:45
committed by GitHub
parent fea59cfc52
commit fc9af7a976
+4
View File
@@ -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)