/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/blackbox/test_re_sign.py

  • Committer: Aaron Bentley
  • Date: 2007-03-07 20:14:06 UTC
  • mto: (2323.6.9 0.15-integration)
  • mto: This revision was merged to the branch mainline in revision 2330.
  • Revision ID: abentley@panoramicfeedback.com-20070307201406-5bxjy8wlmmcxy0eh
Fix failing tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    def assertEqualSignature(self, repo, revision_id):
57
57
        """Assert a signature is stored correctly in repository."""
58
58
        self.assertEqual(
59
 
            Testament.from_revision(repo, revision_id).as_short_text(),
 
59
            '-----BEGIN PSEUDO-SIGNED CONTENT-----\n' +
 
60
            Testament.from_revision(repo, revision_id).as_short_text() +
 
61
            '-----END PSUDO-SIGNED CONTENT-----\n',
60
62
            repo.get_signature_text(revision_id))
61
63
 
62
64
    def test_resign(self):