diff options
| author | Robert Collins <robertc@robertcollins.net> | 2009-07-19 14:07:51 +1000 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2009-07-19 14:07:51 +1000 |
| commit | 5a1a9fb3b468a99503dbf13ed1d2baae29c97f93 (patch) | |
| tree | aeb9343f9e9e784f7e85202e2a3414dbffa75217 /python/subunit | |
| parent | 8952c29a21b6d1be3999476d10b817c8e8125c21 (diff) | |
| download | subunit-5a1a9fb3b468a99503dbf13ed1d2baae29c97f93.tar.gz | |
Add docs to the sample-script explaining why it has an argv check.
Diffstat (limited to 'python/subunit')
| -rwxr-xr-x | python/subunit/tests/sample-script.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/subunit/tests/sample-script.py b/python/subunit/tests/sample-script.py index 33e5cb2..0ee019a 100755 --- a/python/subunit/tests/sample-script.py +++ b/python/subunit/tests/sample-script.py @@ -1,6 +1,9 @@ #!/usr/bin/env python import sys if len(sys.argv) == 2: + # subunit.tests.test_test_protocol.TestExecTestCase.test_sample_method_args + # uses this code path to be sure that the arguments were passed to + # sample-script.py print "test fail" print "error fail" sys.exit(0) |
