~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_weave.py

Merge transaction finalisation and ensure iter_lines_added_or_present in knits does a old-to-new read in the knit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
class StoreText(TestBase):
79
79
    """Store and retrieve a simple text."""
80
 
    def runTest(self):
 
80
 
 
81
    def test_storing_text(self):
81
82
        k = Weave()
82
83
        idx = k.add_lines('text0', [], TEXT_0)
83
84
        self.assertEqual(k.get_lines(idx), TEXT_0)