From a110a4148a1b23f968f4ac54594c19868938131c Mon Sep 17 00:00:00 2001 From: Augie Fackler Date: Wed, 25 Oct 2017 22:07:53 -0400 Subject: [PATCH] test_urls: correctly use test_util.testui instead of ui.ui --- tests/test_urls.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_urls.py b/tests/test_urls.py index a790f16821..a051c85b7f 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -50,7 +50,7 @@ class TestSubversionUrls(test_util.TestBase): ('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.TestBase): repo = svnrepo.svnremoterepo(self.ui(), path=args[0]) self.assertEqual(expected[2], repo.svnauth[0]) self.assertEqual(expected[2], repo.svnurl) -