~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testlog.py

  • Committer: Robert Collins
  • Date: 2005-08-23 06:44:54 UTC
  • mto: (974.1.50) (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: robertc@robertcollins.net-20050823064454-830ef7d426be03f6
move log and temp dir setup foo into the TestSuite we use

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
 
50
50
class SimpleLogTest(BzrTestBase):
51
 
 
52
51
    def checkDelta(self, delta, **kw):
53
52
        """Check the filenames touched by a delta are as expected."""
54
53
        for n in 'added', 'removed', 'renamed', 'modified', 'unchanged':
62
61
            got = [x[0] for x in getattr(delta, n)]
63
62
            self.assertEquals(expected, got)
64
63
 
65
 
    def test_simple_log(self):
 
64
    
 
65
    def runTest(self):
66
66
        eq = self.assertEquals
67
67
        ass = self.assert_
68
68