~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_xml.py

  • Committer: Martin Pool
  • Date: 2005-09-19 08:02:41 UTC
  • Revision ID: mbp@sourcefrog.net-20050919080241-d9460223db8f7d90
- rename to Revision.parent_ids to avoid confusion with old usage
  where Revision.parents held objects rather than strings\t

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
           "Martin Pool <mbp@sourcefrog.net>")
92
92
        eq(rev.inventory_id,
93
93
           "mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9")
94
 
        eq(len(rev.parents), 1)
95
 
        eq(rev.parents[0],
 
94
        eq(len(rev.parent_ids), 1)
 
95
        eq(rev.parent_ids[0],
96
96
           "mbp@sourcefrog.net-20050905063503-43948f59fa127d92")
97
97
 
98
98
    def test_unpack_revision_5(self):
102
102
        eq = self.assertEqual
103
103
        eq(rev.committer,
104
104
           "Martin Pool <mbp@sourcefrog.net>")
105
 
        eq(len(rev.parents), 1)
 
105
        eq(len(rev.parent_ids), 1)
106
106
        eq(rev.timezone, 36000)
107
 
        eq(rev.parents[0],
 
107
        eq(rev.parent_ids[0],
108
108
           "mbp@sourcefrog.net-20050905063503-43948f59fa127d92")
109
109
 
110
110
    def test_unpack_inventory_5(self):