/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 breezy/tests/test_smart_request.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-05-20 16:16:13 UTC
  • mfrom: (6969.1.1 hpss-ghost-rev-error)
  • Revision ID: breezy.the.bot@gmail.com-20180520161613-2hdasiykkl1vp07f
Handle GhostRevisionsHaveNoRevno in hpss.

Merged from https://code.launchpad.net/~jelmer/brz/hpss-ghost-rev-error/+merge/346342

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
    def test_MemoryError(self):
209
209
        self.assertTranslationEqual((b"MemoryError",), MemoryError())
210
210
 
 
211
    def test_GhostRevisionsHaveNoRevno(self):
 
212
        self.assertTranslationEqual(
 
213
            (b"GhostRevisionsHaveNoRevno", b'revid1', b'revid2'),
 
214
            errors.GhostRevisionsHaveNoRevno(b'revid1', b'revid2'))
 
215
 
211
216
    def test_generic_Exception(self):
212
217
        self.assertTranslationEqual((b'error', b'Exception', b""),
213
218
            Exception())