~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Vincent Ladeuil
  • Date: 2010-10-15 11:25:40 UTC
  • mfrom: (5436.2.9 hooks-refactoring)
  • mto: This revision was merged to the branch mainline in revision 5500.
  • Revision ID: v.ladeuil+lp@free.fr-20101015112540-vhgyone6ou1g0foo
Merge lp:~spiv/bzr/hooks-refactoring with tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    return [t.id() for t in tests.iter_suite_tests(test_suite)]
82
82
 
83
83
 
84
 
class SelftestTests(tests.TestCase):
85
 
 
86
 
    def test_import_tests(self):
87
 
        mod = TestUtil._load_module_by_name('bzrlib.tests.test_selftest')
88
 
        self.assertEqual(mod.SelftestTests, SelftestTests)
89
 
 
90
 
    def test_import_test_failure(self):
91
 
        self.assertRaises(ImportError,
92
 
                          TestUtil._load_module_by_name,
93
 
                          'bzrlib.no-name-yet')
94
 
 
95
 
 
96
84
class MetaTestLog(tests.TestCase):
97
85
 
98
86
    def test_logging(self):