Patchwork [8,of,9] test-hgweb-auth: alias ui as uimod

login
register
mail settings
Submitter Yuya Nishihara
Date April 5, 2016, 4:05 p.m.
Message ID <b87ed3d1190c41de7792.1459872316@mimosa>
Download mbox | patch
Permalink /patch/14379/
State Accepted
Headers show

Comments

Yuya Nishihara - April 5, 2016, 4:05 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1459866004 -32400
#      Tue Apr 05 23:20:04 2016 +0900
# Node ID b87ed3d1190c41de7792bb6219c1dfd8d5177c8c
# Parent  6d26e09dd29389c41f261b3f3b164aca6d193568
test-hgweb-auth: alias ui as uimod

Patch

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
@@ -10,7 +10,7 @@  except AttributeError:
 
 from mercurial import demandimport; demandimport.enable()
 from mercurial import (
-    ui,
+    ui as uimod,
     url,
     util,
 )
@@ -18,7 +18,7 @@  from mercurial.error import (
     Abort,
 )
 
-class myui(ui.ui):
+class myui(uimod.ui):
     def interactive(self):
         return False