~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/rst2prettyhtml.py

Create a new test case based on TestCaseWithMemoryTransport.

* bzrlib/tests/script.py:
(TestCaseWithMemoryTransportAndScript): Start a test case based on
memory transport.... and realize almost all commands can't use
it (yet).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python2.4
 
1
#!/usr/bin/env python
2
2
 
3
3
import errno
4
4
import os
66
66
 
67
67
assert len(sys.argv) > 1
68
68
 
69
 
main(*sys.argv[1:])
70
 
 
 
69
# Strip options so only the arguments are passed
 
70
args = [x for x in sys.argv[1:] if not x.startswith('-')]
 
71
main(*args)