comparison tests/test-phabricator.t @ 45245: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 b3b0cd8b9366
children b1f2659c1c34
comparison
equal deleted inserted replaced
45244:d4a28b76fa54 45245:b4887d0680a4
21 > [phabricator] 21 > [phabricator]
22 > url = https://phab.mercurial-scm.org/ 22 > url = https://phab.mercurial-scm.org/
23 > callsign = HG 23 > callsign = HG
24 > EOF 24 > EOF
25 $ VCR="$TESTDIR/phabricator" 25 $ VCR="$TESTDIR/phabricator"
26
27 BROKEN: debugcallconduit fails without --test-vcr:
28 $ echo '{}' | HGRCSKIPREPO= hg debugcallconduit 'conduit.ping'
29 hg debugcallconduit: invalid arguments
30 hg debugcallconduit METHOD
31
32 call Conduit API
33
34 options:
35
36 (use 'hg debugcallconduit -h' to show more help)
37 [255]
26 38
27 Error is handled reasonably. We override the phabtoken here so that 39 Error is handled reasonably. We override the phabtoken here so that
28 when you're developing changes to phabricator.py you can edit the 40 when you're developing changes to phabricator.py you can edit the
29 above config and have a real token in the test but not have to edit 41 above config and have a real token in the test but not have to edit
30 this test. 42 this test.