test-filecache: alias ui as uimod
authorYuya Nishihara <yuya@tcha.org>
Tue, 05 Apr 2016 23:16:16 +0900
changeset 28803 76c091f9711e
parent 28802 b16eacf5347c
child 28804 ce49c8d4f0bb
test-filecache: alias ui as uimod
tests/test-filecache.py
--- a/tests/test-filecache.py	Tue Apr 05 23:15:49 2016 +0900
+++ b/tests/test-filecache.py	Tue Apr 05 23:16:16 2016 +0900
@@ -11,7 +11,7 @@
     extensions,
     hg,
     scmutil,
-    ui,
+    ui as uimod,
     util,
 )
 
@@ -141,7 +141,7 @@
 def test_filecache_synced():
     # test old behavior that caused filecached properties to go out of sync
     os.system('hg init && echo a >> a && hg ci -qAm.')
-    repo = hg.repository(ui.ui())
+    repo = hg.repository(uimod.ui())
     # first rollback clears the filecache, but changelog to stays in __dict__
     repo.rollback()
     repo.commit('.')