comparison tests/test-annotate.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 18f72b255553
children 4359cabcb0cc
comparison
equal deleted inserted replaced
133:b6f601ba7f3c 134:1b47146a4a2c
5 self.append('a', 'a\n') 5 self.append('a', 'a\n')
6 rev, node0 = self.client.commit('first', addremove=True) 6 rev, node0 = self.client.commit('first', addremove=True)
7 self.append('a', 'a\n') 7 self.append('a', 'a\n')
8 rev, node1 = self.client.commit('second') 8 rev, node1 = self.client.commit('second')
9 9
10 self.assertEquals(list(self.client.annotate('a')), [('0', 'a'), ('1', 'a')]) 10 self.assertEquals(list(self.client.annotate('a')), [('0',
11 self.assertEquals(list(self.client.annotate('a', user=True, file=True, 11 'a'), ('1', 'a')])
12 number=True, changeset=True, line=True, verbose=True)), 12 self.assertEquals(list(
13 self.client.annotate(
14 'a', user=True, file=True,
15 number=True, changeset=True, line=True, verbose=True)),
13 [('test 0 %s a:1' % node0[:12], 'a'), 16 [('test 0 %s a:1' % node0[:12], 'a'),
14 ('test 1 %s a:2' % node1[:12], 'a')]) 17 ('test 1 %s a:2' % node1[:12], 'a')])
15 18
16 def test_files(self): 19 def test_files(self):
17 self.append('a', 'a\n') 20 self.append('a', 'a\n')