~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testtestament.py

- add short-form of testaments

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
  file src/foo.c
98
98
"""
99
99
        self.assertEqualDiff(text_form, expect)
 
100
        actual_short = t.as_short_text()
 
101
        self.assertEqualDiff(actual_short, """\
 
102
bazaar-ng testament short form 1
 
103
revision test@user-2
 
104
sha1 e64f0a98937f8b0d2602ea5f521938752b90a430
 
105
""")