--- 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.