summaryrefslogtreecommitdiff
path: root/test/baseline/feat-option_py.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/feat-option_py.test')
-rw-r--r--test/baseline/feat-option_py.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/baseline/feat-option_py.test b/test/baseline/feat-option_py.test
new file mode 100644
index 00000000..1b2a0c79
--- /dev/null
+++ b/test/baseline/feat-option_py.test
@@ -0,0 +1,14 @@
+python
+ def option_pyfirst(context):
+ print "In --pyfirst (from %s)" % context
+
+ def option_pysecond(context, val):
+ print "In --pysecond=%s (from %s)" % (val, context)
+
+--pyfirst
+--pysecond Hey
+
+test reg
+In --pyfirst (from $FILE)
+In --pysecond=Hey (from $FILE)
+end test