diff tests/test_util.py @ 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 89997a5fc181
children 0991df151799
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)