Mercurial > hgsubversion
comparison tests/test_fetch_command.py @ 1051:c41e993f0892
test_fetch_commands: make a failure more readable
| author | Dan Villiom Podlaski Christiansen <dan@cabo.dk> |
|---|---|
| date | Fri, 09 Aug 2013 20:18:31 +0200 |
| parents | 903c9c9dfe6a |
| children | 36a5fa6420a0 |
comparison
equal
deleted
inserted
replaced
| 1050:fb0715c9347d | 1051:c41e993f0892 |
|---|---|
| 265 o changeset: 0:ab86791fc857 | 265 o changeset: 0:ab86791fc857 |
| 266 branch: | 266 branch: |
| 267 tags: | 267 tags: |
| 268 summary: init | 268 summary: init |
| 269 files: a dir/b | 269 files: a dir/b |
| 270 | |
| 270 """ | 271 """ |
| 271 self.assertEqual(refgraph.strip(), graph.strip()) | 272 self.assertMultiLineEqual(refgraph, graph) |
| 272 | 273 |
| 273 def test_fetch_revert_stupid(self): | 274 def test_fetch_revert_stupid(self): |
| 274 self.test_fetch_revert(stupid=True) | 275 self.test_fetch_revert(stupid=True) |
| 275 | 276 |
| 276 def test_fetch_movetotrunk(self, stupid=False): | 277 def test_fetch_movetotrunk(self, stupid=False): |
| 281 o changeset: 0:02996a5980ba | 282 o changeset: 0:02996a5980ba |
| 282 branch: | 283 branch: |
| 283 tags: tip | 284 tags: tip |
| 284 summary: move to trunk | 285 summary: move to trunk |
| 285 files: a dir/b | 286 files: a dir/b |
| 287 | |
| 286 """ | 288 """ |
| 287 self.assertEqual(refgraph.strip(), graph.strip()) | 289 self.assertMultiLineEqual(refgraph, graph) |
| 288 | 290 |
| 289 def test_fetch_movetotrunk_stupid(self): | 291 def test_fetch_movetotrunk_stupid(self): |
| 290 self.test_fetch_movetotrunk(stupid=True) | 292 self.test_fetch_movetotrunk(stupid=True) |
