/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_parser.py

fix tests to use new CommitCommand constructor

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        self.assertEqual(None, cmd4.author)
136
136
        self.assertEqual(11, cmd4.lineno)
137
137
        self.assertEqual('refs/heads/master', cmd4.ref)
138
 
        self.assertEqual([], cmd4.parents)
 
138
        self.assertEqual(None, cmd4.from_)
 
139
        self.assertEqual([], cmd4.merges)
139
140
        file_cmd1 = result[4]
140
141
        self.assertEqual('filemodify', file_cmd1.name)
141
142
        self.assertEqual('README', file_cmd1.path)
153
154
        self.assertEqual(None, cmd5.author)
154
155
        self.assertEqual(19, cmd5.lineno)
155
156
        self.assertEqual('refs/heads/master', cmd5.ref)
156
 
        self.assertEqual([':2'], cmd5.parents)
 
157
        self.assertEqual(':2', cmd5.from_)
 
158
        self.assertEqual([], cmd5.merges)
157
159
        file_cmd2 = result[6]
158
160
        self.assertEqual('filemodify', file_cmd2.name)
159
161
        self.assertEqual('README', file_cmd2.path)