Mercurial > public > mercurial-scm > python-hglib
comparison tests/test-init.py @ 148:c1b966866ed7
hglib: make all imports absolute (issue4520)
author | Brett Cannon <brett@python.org> |
---|---|
date | Fri, 13 Mar 2015 14:46:13 -0400 |
parents | 4359cabcb0cc |
children |
comparison
equal
deleted
inserted
replaced
147:98829bf71f10 | 148:c1b966866ed7 |
---|---|
1 import hglib, common, shutil | 1 from tests import common |
2 import hglib, shutil | |
2 from hglib.util import b | 3 from hglib.util import b |
3 | 4 |
4 class test_init(common.basetest): | 5 class test_init(common.basetest): |
5 def test_exists(self): | 6 def test_exists(self): |
6 self.assertRaises(hglib.error.CommandError, hglib.init) | 7 self.assertRaises(hglib.error.CommandError, hglib.init) |