Mercurial > hgsubversion
comparison tests/test_urls.py @ 337:46e69be8e2c8
Reorganize to have a more conventional module structure.
This means that hgsubversion now uses absolute imports instead of
relative ones, which makes the tests more reliable.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 13 May 2009 21:39:39 -0500 |
parents | 2969a20e0eef |
children | 35993ba9d119 |
comparison
equal
deleted
inserted
replaced
336:c0b943cef0c3 | 337:46e69be8e2c8 |
---|---|
1 import test_util | 1 import test_util |
2 import unittest | 2 import unittest |
3 from svnwrap.svn_swig_wrapper import parse_url | 3 from hgsubversion.svnwrap.svn_swig_wrapper import parse_url |
4 | 4 |
5 class TestSubversionUrls(test_util.TestBase): | 5 class TestSubversionUrls(test_util.TestBase): |
6 def test_standard_url(self): | 6 def test_standard_url(self): |
7 self.assertEqual((None, None, 'file:///var/svn/repo'), | 7 self.assertEqual((None, None, 'file:///var/svn/repo'), |
8 parse_url('file:///var/svn/repo')) | 8 parse_url('file:///var/svn/repo')) |