/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 bzrlib/tests/test_remote.py

  • Committer: Martin Pool
  • Date: 2009-08-28 05:00:33 UTC
  • mfrom: (4659 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: mbp@sourcefrog.net-20090828050033-blwvnig3gdzbr1iw
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2668
2668
        expected_error = errors.ReadError(path)
2669
2669
        self.assertEqual(expected_error, translated_error)
2670
2670
 
 
2671
    def test_IncompatibleRepositories(self):
 
2672
        translated_error = self.translateTuple(('IncompatibleRepositories',
 
2673
            "repo1", "repo2", "details here"))
 
2674
        expected_error = errors.IncompatibleRepositories("repo1", "repo2",
 
2675
            "details here")
 
2676
        self.assertEqual(expected_error, translated_error)
 
2677
 
2671
2678
    def test_PermissionDenied_no_args(self):
2672
2679
        path = 'a path'
2673
2680
        translated_error = self.translateTuple(('PermissionDenied',), path=path)