tests/test-trusted.py
changeset 45894 9dc1351d0b5f
parent 45888 c9b14c56fc2b
child 48875 6000f5b25c9b
equal deleted inserted replaced
45893:f4065c3f09b8 45894:9dc1351d0b5f
   254 f.write(b'foo')
   254 f.write(b'foo')
   255 f.close()
   255 f.close()
   256 
   256 
   257 try:
   257 try:
   258     testui(user=b'abc', group=b'def', silent=True)
   258     testui(user=b'abc', group=b'def', silent=True)
   259 except error.ParseError as inst:
   259 except error.ConfigError as inst:
   260     bprint(inst.format())
   260     bprint(inst.format())
   261 
   261 
   262 try:
   262 try:
   263     testui(debug=True, silent=True)
   263     testui(debug=True, silent=True)
   264 except error.ParseError as inst:
   264 except error.ConfigError as inst:
   265     bprint(inst.format())
   265     bprint(inst.format())
   266 
   266 
   267 print()
   267 print()
   268 bprint(b'# access typed information')
   268 bprint(b'# access typed information')
   269 with open(b'.hg/hgrc', 'wb') as f:
   269 with open(b'.hg/hgrc', 'wb') as f: