~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testinv.py

[merge] robertc's integration, updated tests to check for retcode=3

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
                          "old_label", self.tree_1,
166
166
                          "/dev/null", None, None,
167
167
                          output)
168
 
        self.assertEqual(output.getvalue(), "--- old_label\n"
169
 
                                            "+++ /dev/null\n"
 
168
        self.assertEqual(output.getvalue(), "--- old_label\t\n"
 
169
                                            "+++ /dev/null\t\n"
170
170
                                            "@@ -1,1 +0,0 @@\n"
171
171
                                            "-foo\n"
172
172
                                            "\n")
177
177
                          "new_label", self.tree_1,
178
178
                          "/dev/null", None, None,
179
179
                          output, reverse=True)
180
 
        self.assertEqual(output.getvalue(), "--- /dev/null\n"
181
 
                                            "+++ new_label\n"
 
180
        self.assertEqual(output.getvalue(), "--- /dev/null\t\n"
 
181
                                            "+++ new_label\t\n"
182
182
                                            "@@ -0,0 +1,1 @@\n"
183
183
                                            "+foo\n"
184
184
                                            "\n")
189
189
                          "/dev/null", self.tree_1, 
190
190
                          "new_label", self.file_2, self.tree_2,
191
191
                          output)
192
 
        self.assertEqual(output.getvalue(), "--- /dev/null\n"
193
 
                                            "+++ new_label\n"
 
192
        self.assertEqual(output.getvalue(), "--- /dev/null\t\n"
 
193
                                            "+++ new_label\t\n"
194
194
                                            "@@ -1,1 +1,1 @@\n"
195
195
                                            "-foo\n"
196
196
                                            "+bar\n"