ansible/test
Toshio Kuratomi 7e92ff823e Split up the base_parser function
The goal of breaking apart the base_parser() function is to get rid of
a bunch of conditionals and parameters in the code and, instead, make
code look like simple composition.

When splitting, a choice had to be made as to whether this would operate
by side effect (modifying a passed in parser) or side effect-free
(returning a new parser everytime).

Making a version that's side-effect-free appears to be fighting with the
optparse API (it wants to work by creating a parser object, configuring
the object, and then parsing the arguments with it) so instead, make it
clear that our helper functions are modifying the passed in parser by
(1) not returning the parser and (2) changing the function names to be
more clear that it is operating by side-effect.

Also move all of the generic optparse code, along with the argument
context classes, into a new subdirectory.
2019-01-03 18:12:23 -08:00
..
cache
env Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
integration ansible-test: docker_network set as untable (#50526) 2019-01-04 10:15:24 +10:00
legacy vultr_server: fix multiple ssh keys not handled (#50337) 2019-01-01 10:11:10 +01:00
results
runner Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
sanity Added supershipit to botmeta sanity test (#50219) 2018-12-21 10:36:43 +10:00
units Split up the base_parser function 2019-01-03 18:12:23 -08:00
utils Debug: Size of coverage file (#50380) 2018-12-29 13:01:35 +00:00