MCPcopy
hub / github.com/pex-tool/pex / register_options

Method register_options

testing/bin/run_tests.py:81–99  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

79class JunitReport(object):
80 @staticmethod
81 def register_options(parser):
82 # type: (ArgumentParser) -> None
83 parser.add_argument(
84 "--junit-report",
85 metavar="PATH",
86 help="Produce a junit xml test report at the given path.",
87 )
88 parser.add_argument(
89 "--junit-report-suppress-stdio",
90 action="store_true",
91 help="Do not include stdout or stderr from tests in the report.",
92 )
93 parser.add_argument(
94 "--junit-report-redact",
95 dest="junit_report_redactions",
96 action="append",
97 default=[],
98 help="Add a string to redact from the junit xml test report.",
99 )
100
101 @classmethod
102 def from_options(cls, options):

Callers 8

_add_resolve_optionsMethod · 0.80
_add_create_argumentsMethod · 0.80
add_extra_argumentsMethod · 0.80
add_extra_argumentsMethod · 0.80
configure_clp_sourcesFunction · 0.80
parse_argsFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected