~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/__init__.py

  • Committer: Aaron Bentley
  • Date: 2006-03-24 17:24:21 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060324172421-c1acc18c1a4075a6
Added multi-pull, working on branches and checkouts

Show diffs side-by-side

added added

removed removed

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