Mercurial > hgsubversion
changeset 1534:7917abf6b456
test_urls: correctly use test_util.testui instead of ui.ui
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 25 Oct 2017 22:07:53 -0400 |
parents | 0212c3a84ccd |
children | 4dad506e51cc |
files | tests/test_urls.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -50,7 +50,7 @@ class TestSubversionUrls(test_util.TestB ('https://joe:t3stpw@svn.testurl.com/repo', 'bob', '123abc', )) def test_url_rewriting(self): - ui = test_util.ui.ui() + ui = test_util.testui() ui.setconfig('hgsubversion', 'username', 'bob') repo = svnrepo.svnremoterepo(ui, 'svn+ssh://joe@foo/bar') self.assertEqual('svn+ssh://bob@foo/bar', repo.svnauth[0]) @@ -82,4 +82,3 @@ class TestSubversionUrls(test_util.TestB repo = svnrepo.svnremoterepo(self.ui(), path=args[0]) self.assertEqual(expected[2], repo.svnauth[0]) self.assertEqual(expected[2], repo.svnurl) -