tests/test-bugzilla.t
changeset 33432 fbfecd1dbfb5
parent 29102 22c53b3a390d
child 35393 4441705b7111
--- a/tests/test-bugzilla.t	Thu Jul 13 22:57:11 2017 -0400
+++ b/tests/test-bugzilla.t	Fri Jul 07 10:04:03 2017 +0200
@@ -3,7 +3,14 @@
   $ cat <<EOF > bzmock.py
   > from __future__ import absolute_import
   > from mercurial import extensions
+  > from mercurial import registrar
   > 
+  > configtable = {}
+  > configitem = registrar.configitem(configtable)
+  > 
+  > configitem('bugzilla', 'mocklog',
+  >     default=None,
+  > )
   > def extsetup(ui):
   >     bugzilla = extensions.find('bugzilla')
   >     class bzmock(bugzilla.bzaccess):