~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/__init__.py

  • Committer: Aaron Bentley
  • Date: 2006-03-01 16:04:07 UTC
  • mto: (147.4.30 trunk)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: abentley@panoramicfeedback.com-20060301160407-c8db0a2c02699dd2
Stopped using deprecated PyBaz functionality

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
def test_suite():
2
 
    from unittest import TestSuite
3
 
    return TestSuite()
 
2
    try:
 
3
        import bzrlib.plugins.bzrtools.tests.test_baz_import
 
4
    except ImportError:
 
5
        from unittest import TestSuite
 
6
        return TestSuite()
 
7
    return bzrlib.plugins.bzrtools.tests.test_baz_import.test_suite()