Patchwork [6,of,9] test-ui-config: alias ui as uimod

login
register
mail settings
Submitter Yuya Nishihara
Date April 4, 2016, 3:07 p.m.
Message ID <c06bc6d115136a8876a6.1459782459@mimosa>
Download mbox | patch
Permalink /patch/14351/
State Accepted
Delegated to: Martin von Zweigbergk
Headers show

Comments

Yuya Nishihara - April 4, 2016, 3:07 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1459681019 -32400
#      Sun Apr 03 19:56:59 2016 +0900
# Node ID c06bc6d115136a8876a6036bea42731edb0c96aa
# Parent  f1517a67b73d88e5c3732b023869352c71677bcb
test-ui-config: alias ui as uimod

Patch

diff --git a/tests/test-ui-config.py b/tests/test-ui-config.py
--- a/tests/test-ui-config.py
+++ b/tests/test-ui-config.py
@@ -2,10 +2,10 @@  from __future__ import absolute_import, 
 from mercurial import (
     dispatch,
     error,
-    ui,
+    ui as uimod,
 )
 
-testui = ui.ui()
+testui = uimod.ui()
 parsed = dispatch._parseconfig(testui, [
     'values.string=string value',
     'values.bool1=true',