# HG changeset patch # User Yuya Nishihara # Date 2016-04-05 14:20:04 # Node ID 736f64b23a24df2b9011c1dbc219bec3bc5410e4 # Parent d26c4af2797809bc8cbd3a1e5777f18d783f34d8 test-hgweb-auth: alias ui as uimod diff --git a/tests/test-hgweb-auth.py b/tests/test-hgweb-auth.py --- a/tests/test-hgweb-auth.py +++ b/tests/test-hgweb-auth.py @@ -3,7 +3,7 @@ from __future__ import absolute_import, from mercurial import demandimport; demandimport.enable() import urllib2 from mercurial import ( - ui, + ui as uimod, url, util, ) @@ -11,7 +11,7 @@ from mercurial.error import ( Abort, ) -class myui(ui.ui): +class myui(uimod.ui): def interactive(self): return False