~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to testknit.py

  • Committer: Martin Pool
  • Date: 2005-06-27 03:07:11 UTC
  • mto: This revision was merged to the branch mainline in revision 852.
  • Revision ID: mbp@sourcefrog.net-20050627030711-fa99095a152cd172
Add trivial annotate text

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        self.assertEqual(idx, 0)
45
45
 
46
46
 
 
47
 
 
48
class AnnotateOne(TestBase):
 
49
    def runTest(self):
 
50
        k = Knit()
 
51
        k.add(TEXT_0)
 
52
        self.assertEqual(k.annotate(0),
 
53
                         [(0, TEXT_0[0])])
 
54
 
 
55
 
47
56
class StoreTwo(TestBase):
48
57
    def runTest(self):
49
58
        k = Knit()