test-hgweb-auth: alias ui as uimod
authorYuya Nishihara <yuya@tcha.org>
Tue, 05 Apr 2016 23:20:04 +0900
changeset 28807 736f64b23a24
parent 28806 d26c4af27978
child 28808 10c2ce44c35d
test-hgweb-auth: alias ui as uimod
tests/test-hgweb-auth.py
--- a/tests/test-hgweb-auth.py	Tue Apr 05 23:18:52 2016 +0900
+++ b/tests/test-hgweb-auth.py	Tue Apr 05 23:20:04 2016 +0900
@@ -3,7 +3,7 @@
 from mercurial import demandimport; demandimport.enable()
 import urllib2
 from mercurial import (
-    ui,
+    ui as uimod,
     url,
     util,
 )
@@ -11,7 +11,7 @@
     Abort,
 )
 
-class myui(ui.ui):
+class myui(uimod.ui):
     def interactive(self):
         return False