We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b622c commit fb1fab0Copy full SHA for fb1fab0
sdks/python/apache_beam/yaml/main.py
@@ -100,6 +100,7 @@ def _parse_arguments(argv):
100
help='A json dict of variables used when invoking the jinja preprocessor '
101
'on the provided yaml pipeline.')
102
parser.add_argument(
103
+ '--tests',
104
'--test',
105
action=argparse.BooleanOptionalAction,
106
help='Run the tests associated with the given pipeline, rather than the '
@@ -290,7 +291,7 @@ def constructor(root):
290
291
if __name__ == '__main__':
292
import logging
293
logging.getLogger().setLevel(logging.INFO)
- if '--test' in sys.argv:
294
+ if '--tests' in sys.argv or '--test' in sys.argv:
295
run_tests()
296
else:
297
run()
0 commit comments