comparison tests/test-hgweb-non-interactive.t @ 32940:75be14993fda

cleanup: use $PYTHON to run python in many more tests Spotted one of these, then wrote a check-code rule that caught them all. It will be the next change.
author Augie Fackler <augie@google.com>
date Tue, 20 Jun 2017 09:45:02 -0400
parents 636cf3f7620d
children 27fb986e54d0
comparison
equal deleted inserted replaced
32939:cad62cb3c84c 32940:75be14993fda
74 > print sorted([x for x in os.environ if x.startswith('wsgi')]) 74 > print sorted([x for x in os.environ if x.startswith('wsgi')])
75 > print '---- request.ENVIRON wsgi variables' 75 > print '---- request.ENVIRON wsgi variables'
76 > with i._obtainrepo() as repo: 76 > with i._obtainrepo() as repo:
77 > print sorted([x for x in repo.ui.environ if x.startswith('wsgi')]) 77 > print sorted([x for x in repo.ui.environ if x.startswith('wsgi')])
78 > EOF 78 > EOF
79 $ python request.py 79 $ $PYTHON request.py
80 ---- STATUS 80 ---- STATUS
81 200 Script output follows 81 200 Script output follows
82 ---- HEADERS 82 ---- HEADERS
83 [('Content-Type', 'text/html; charset=ascii')] 83 [('Content-Type', 'text/html; charset=ascii')]
84 ---- DATA 84 ---- DATA