Mercurial > python-hglib
comparison tests/test-init.py @ 92:07efbd3bd09a
hglib: change init to not open a command server instance automatically
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Thu, 22 Dec 2011 19:12:47 +0200 |
parents | ce516ed9bc0d |
children | 4359cabcb0cc |
comparison
equal
deleted
inserted
replaced
91:0383fc37102b | 92:07efbd3bd09a |
---|---|
7 def test_basic(self): | 7 def test_basic(self): |
8 self.client.close() | 8 self.client.close() |
9 self.client = None | 9 self.client = None |
10 shutil.rmtree('.hg') | 10 shutil.rmtree('.hg') |
11 | 11 |
12 self.client = hglib.init() | 12 self.client = hglib.init().open() |
13 self.assertTrue(self.client.root().endswith('test_init')) | 13 self.assertTrue(self.client.root().endswith('test_init')) |