annotate tests/test-move.py @ 120:5d3783aebe5f
1.2
log: fix 'hidden' option
We were passing -h, which is 'help', not 'hidden'.
author |
Julien Cristau <julien.cristau@logilab.fr> |
date |
Mon, 27 Jan 2014 09:29:55 +0100 |
parents |
a2fc0a7f648e |
children |
4359cabcb0cc |
rev |
line source |
32
|
1 import common, os
|
|
2
|
|
3 class test_move(common.basetest):
|
|
4 def test_basic(self):
|
|
5 self.append('a', 'a')
|
|
6 self.client.add('a')
|
|
7 self.assertTrue(self.client.move('a', 'b'))
|
|
8
|
|
9 # hg returns 0 even if there were warnings
|
|
10 #def test_warnings(self):
|
|
11 # self.append('a', 'a')
|
|
12 # self.client.add('a')
|
|
13 # os.mkdir('c')
|
|
14 # self.assertFalse(self.client.move(['a', 'b'], 'c'))
|