# HG changeset patch # User Augie Fackler # Date 1508983673 14400 # Node ID 7917abf6b456f346cd6871be07228dab5204beb2 # Parent 0212c3a84ccd3d69eee691f77f6f0f53f1870a21 test_urls: correctly use test_util.testui instead of ui.ui diff --git a/tests/test_urls.py b/tests/test_urls.py --- 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) -