~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_re_sign.py

Merge from bzr.dev

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):