diff -r 57875cf423c9 -r 2372284d9457 tests/blackbox-readonly-dispatch.py --- a/tests/blackbox-readonly-dispatch.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/blackbox-readonly-dispatch.py Sun Oct 06 09:45:02 2019 -0400 @@ -6,6 +6,7 @@ ui as uimod, ) + def testdispatch(cmd): """Simple wrapper around dispatch.dispatch() @@ -18,6 +19,7 @@ result = dispatch.dispatch(req) ui.status(b"result: %r\n" % result) + # create file 'foo', add and commit f = open(b'foo', 'wb') f.write(b'foo\n')