Mercurial > hg
changeset 28803:76c091f9711e
test-filecache: alias ui as uimod
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 05 Apr 2016 23:16:16 +0900 |
parents | b16eacf5347c |
children | ce49c8d4f0bb |
files | tests/test-filecache.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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('.')