changeset 1577:af9a3156f8ae

test: prefill more early options Mercurial 4.7 process more option earlier. We have to update the test to take than in account.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 26 Jul 2018 16:25:41 +0200
parents 7da8a38ff969
children 68965b2e3401
files tests/test_unaffected_core.py
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_unaffected_core.py
+++ b/tests/test_unaffected_core.py
@@ -16,8 +16,17 @@ def _dispatch(ui, cmd):
     assert '--quiet' in cmd
     try:
         req = dispatch.request(cmd, ui=ui)
-        req.earlyoptions = {'config': [], 'cwd': '', 'debugger': None,
-                            'profile': False, 'repository': ''}
+        req.earlyoptions = {
+            'config': [],
+            'cwd': '',
+            'debugger': None,
+            'profile': False,
+            'repository': '',
+            'verbose': False,
+            'quiet': False,
+            'debug': False,
+            'traceback': False,
+        }
         dispatch._dispatch(req)
     except AttributeError:
         dispatch._dispatch(ui, cmd)