# HG changeset patch # User Ian Moody # Date 1596124332 -3600 # Node ID b4887d0680a4ddde0266507ccadab7bd4ea10698 # Parent d4a28b76fa54ffc69f07a6ede9962e30c8c28142 phabricator: demonstrate debugcallconduit being broken without --test-vcr This was accidentally broken by 11592ce6a711 / D8525 Differential Revision: https://phab.mercurial-scm.org/D8851 diff -r d4a28b76fa54 -r b4887d0680a4 tests/test-phabricator.t --- 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