changeset 28807:736f64b23a24

test-hgweb-auth: alias ui as uimod
author Yuya Nishihara <yuya@tcha.org>
date Tue, 05 Apr 2016 23:20:04 +0900
parents d26c4af27978
children 10c2ce44c35d
files tests/test-hgweb-auth.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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