Mercurial > hg-stable
changeset 45271:b4887d0680a4
phabricator: demonstrate debugcallconduit being broken without --test-vcr
This was accidentally broken by 11592ce6a711 / D8525
Differential Revision: https://phab.mercurial-scm.org/D8851
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Thu, 30 Jul 2020 16:52:12 +0100 |
parents | d4a28b76fa54 |
children | b1f2659c1c34 |
files | tests/test-phabricator.t |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-phabricator.t Tue Jul 28 11:11:14 2020 -0700 +++ b/tests/test-phabricator.t Thu Jul 30 16:52:12 2020 +0100 @@ -24,6 +24,18 @@ > EOF $ VCR="$TESTDIR/phabricator" +BROKEN: debugcallconduit fails without --test-vcr: + $ echo '{}' | HGRCSKIPREPO= hg debugcallconduit 'conduit.ping' + hg debugcallconduit: invalid arguments + hg debugcallconduit METHOD + + call Conduit API + + options: + + (use 'hg debugcallconduit -h' to show more help) + [255] + Error is handled reasonably. We override the phabtoken here so that when you're developing changes to phabricator.py you can edit the above config and have a real token in the test but not have to edit