| Index: recipe_modules/python/example.resources/test.py
|
| diff --git a/recipe_modules/python/example.resources/test.py b/recipe_modules/python/example.resources/test.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..01a7a59cf904b2e9fbdf754c2bfe48d46944b220
|
| --- /dev/null
|
| +++ b/recipe_modules/python/example.resources/test.py
|
| @@ -0,0 +1,22 @@
|
| +# Copyright 2017 The LUCI Authors. All rights reserved.
|
| +# Use of this source code is governed under the Apache License, Version 2.0
|
| +# that can be found in the LICENSE file.
|
| +
|
| +import argparse
|
| +import os
|
| +import sys
|
| +
|
| +
|
| +def main():
|
| + parser = argparse.ArgumentParser()
|
| + parser.add_argument('--verify', action='store_true')
|
| + opts = parser.parse_args()
|
| +
|
| + if opts.verify:
|
| + import six
|
| + assert six.__version__ == '1.10.0'
|
| + return 0
|
| +
|
| +
|
| +if __name__ == '__main__':
|
| + sys.exit(main())
|
|
|