Mercurial > hgsubversion
comparison tests/test_urls.py @ 672:2cc1342d4476
svnwrap: factor out a common module
The new `common' module holds code not specific to the SWIG
wrapper. Factoring it out makes providing multiple wrappers easier.
No functionality change, although imports in one test were updated.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Wed, 11 Aug 2010 19:57:35 +0200 |
parents | 15443c592f7a |
children | 181ec1929b2a |
comparison
equal
deleted
inserted
replaced
671:e910e3ebd23b | 672:2cc1342d4476 |
---|---|
1 import test_util | 1 import test_util |
2 import unittest | 2 import unittest |
3 from hgsubversion.svnwrap.svn_swig_wrapper import parse_url | 3 from hgsubversion.svnwrap import parse_url |
4 from hgsubversion import svnrepo | 4 from hgsubversion import svnrepo |
5 | 5 |
6 class TestSubversionUrls(test_util.TestBase): | 6 class TestSubversionUrls(test_util.TestBase): |
7 def test_standard_url(self): | 7 def test_standard_url(self): |
8 self.assertEqual((None, None, 'file:///var/svn/repo'), | 8 self.assertEqual((None, None, 'file:///var/svn/repo'), |