~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to test.py

  • Committer: Aaron Bentley
  • Date: 2007-07-12 20:55:33 UTC
  • mfrom: (553.1.1 bzrtools)
  • Revision ID: abentley@panoramicfeedback.com-20070712205533-ael98t8ly97zuba3
Merge option help fixes from vila

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
USAGE = """Just run test.py.  Any supplied arguments are treated as PYTHONPATH
3
3
prefixes."""
4
4
import sys
15
15
path_prefix.append(os.path.join(os.path.dirname(__file__), ".."))
16
16
sys.path = [os.path.realpath(p) for p in path_prefix] + sys.path
17
17
try:
18
 
    import bzrtools
 
18
    from bzrlib.plugins import bzrtools
19
19
except ImportError, e:
20
20
    if len(sys.argv) == 1 and "bzrlib" in str(e):
21
 
        print "You can spcify the path to bzrlib as the first argument"
 
21
        print "You can specify the path to bzrlib as the first argument"
22
22
    raise
23
23
suite = bzrtools.test_suite()
24
24
runner = unittest.TextTestRunner(verbosity=0)