changeset 1493:bac709b5ff6c stable

testui: set a username so recording obsolete markers doesn't break
author Augie Fackler <raf@durin42.com>
date Sun, 12 Feb 2017 15:16:16 -0500
parents 8d8fc10d0d0a
children 051a517b473b
files tests/test_util.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -284,6 +284,7 @@ def testui(stupid=False, layout='auto', 
     u = ui.ui()
     bools = {True: 'true', False: 'false'}
     u.setconfig('ui', 'quiet', bools[True])
+    u.setconfig('ui', 'username', 'automated tests')
     u.setconfig('extensions', 'hgsubversion', '')
     u.setconfig('hgsubversion', 'stupid', bools[stupid])
     u.setconfig('hgsubversion', 'layout', layout)