~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-03 02:53:10 UTC
  • mfrom: (5404.2.1 2.3-test-loader)
  • Revision ID: pqm@pqm.ubuntu.com-20100903025310-t8mj1bjq4fsyxk7p
(jameinel) Restore TestSuite and TestLoader as attributes of bzrlib.tests
 (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        self.failUnlessExists(filename)
123
123
 
124
124
 
 
125
class TestClassesAvailable(tests.TestCase):
 
126
    """As a convenience we expose Test* classes from bzrlib.tests"""
 
127
 
 
128
    def test_test_case(self):
 
129
        from bzrlib.tests import TestCase
 
130
 
 
131
    def test_test_loader(self):
 
132
        from bzrlib.tests import TestLoader
 
133
 
 
134
    def test_test_suite(self):
 
135
        from bzrlib.tests import TestSuite
 
136
 
 
137
 
125
138
class TestTransportScenarios(tests.TestCase):
126
139
    """A group of tests that test the transport implementation adaption core.
127
140