Commits

Augie Fackler committed 26aa017

test_util: specify a username in our test-run hgrc.

Comments (0)

Files changed (1)

tests/test_util.py

         self.hgrc = os.path.join(self.tmpdir, '.hgrc')
         os.environ['HGRCPATH'] = self.hgrc
         rc = open(self.hgrc, 'w')
+        rc.write('[ui]\nusername=test-user\n')
         for l in '[extensions]', 'hgsubversion=':
             print >> rc, l
 
 
     def draw(self, repo):
         sys.stdout.write(self.getgraph(repo))
-