/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_blackbox.py

  • Committer: Martin
  • Date: 2011-09-04 19:42:55 UTC
  • mto: (0.200.1359 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: gzlist@googlemail.com-20110904194255-o81dqsb6fo0z3s76
Don't raise the deprecated KnownFailure from tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    )
31
31
 
32
32
from bzrlib.tests.blackbox import ExternalBase
33
 
from bzrlib.tests import KnownFailure
34
33
 
35
34
from bzrlib.plugins.git import (
36
35
    tests,
100
99
        self.simple_commit()
101
100
 
102
101
        if bzrlib_version < (2, 4):
103
 
            raise KnownFailure("bzr info uses inventory on bzr < 2.4")
 
102
            self.knownFailure("bzr info uses inventory on bzr < 2.4")
104
103
 
105
104
        output, error = self.run_bzr(['info', '-v'])
106
105
        self.assertEqual(error, '')
110
109
        self.assertTrue("repository: Git Repository" in output)
111
110
 
112
111
    def test_push_roundtripping(self):
113
 
        raise KnownFailure("roundtripping is not yet supported")
 
112
        self.knownFailure("roundtripping is not yet supported")
114
113
        self.with_roundtripping()
115
114
        os.mkdir("bla")
116
115
        GitRepo.init(os.path.join(self.test_dir, "bla"))