We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a2b2fd commit 64b94f9Copy full SHA for 64b94f9
1 file changed
replay_testing/cli.py
@@ -123,7 +123,11 @@ def add_arguments(parser):
123
def parse_arguments():
124
parser = argparse.ArgumentParser(description='replay integration testing tool.')
125
add_arguments(parser)
126
- return parser, parser.parse_args()
+ # Use parse_known_args to allow extra arguments to pass through to the test file
127
+ args, unknown = parser.parse_known_args()
128
+ # Store unknown args for potential use by test files
129
+ args.unknown_args = unknown
130
+ return parser, args
131
132
133
def run(parser, args):
0 commit comments