tests/test-wireproto-serverreactor.py
changeset 40129 293835e0fff7
parent 40126 327d40b94bed
child 40135 966b5f7fd30b
--- a/tests/test-wireproto-serverreactor.py	Thu Oct 04 16:44:21 2018 -0700
+++ b/tests/test-wireproto-serverreactor.py	Thu Oct 04 17:17:57 2018 -0700
@@ -6,6 +6,7 @@
     cbor,
 )
 from mercurial import (
+    ui as uimod,
     util,
     wireprotoframing as framing,
 )
@@ -18,7 +19,8 @@
 OK = cbor.dumps({b'status': b'ok'})
 
 def makereactor(deferoutput=False):
-    return framing.serverreactor(deferoutput=deferoutput)
+    ui = uimod.ui()
+    return framing.serverreactor(ui, deferoutput=deferoutput)
 
 def sendframes(reactor, gen):
     """Send a generator of frame bytearray to a reactor.