comparison tests/test-update.py @ 134:1b47146a4a2c 1.4

style: fix long lines
author Matt Mackall <mpm@selenic.com>
date Tue, 30 Sep 2014 12:48:04 -0500
parents e738d6fe5f3f
children 9c4f52467208
comparison
equal deleted inserted replaced
133:b6f601ba7f3c 134:1b47146a4a2c
56 56
57 self.client.update() 57 self.client.update()
58 self.assertEquals(self.client.parents()[0].node, node2) 58 self.assertEquals(self.client.parents()[0].node, node2)
59 59
60 def test_check_clean(self): 60 def test_check_clean(self):
61 self.assertRaises(ValueError, self.client.update, clean=True, check=True) 61 self.assertRaises(ValueError, self.client.update, clean=True,
62 check=True)
62 63
63 def test_clean(self): 64 def test_clean(self):
64 old = open('a').read() 65 old = open('a').read()
65 self.append('a', 'b') 66 self.append('a', 'b')
66 self.assertRaises(error.CommandError, self.client.update, check=True) 67 self.assertRaises(error.CommandError, self.client.update, check=True)