comparison tests/common-pattern.py @ 35234:f0445eea9b93

test: fix common-pattern for pure variant The $USUAL_COMPRESSIONS$ value that was taken was not compatible with the pure variant systems as zlib seems to not be available in these case. Differential Revision: https://phab.mercurial-scm.org/D1562
author Boris Feld <boris.feld@octobus.net>
date Wed, 29 Nov 2017 23:20:52 -0500
parents 1b22d325089c
children ad5f2b923b0d
comparison
equal deleted inserted replaced
35233:1b22d325089c 35234:f0445eea9b93
1 # common patterns in test at can safely be replaced 1 # common patterns in test at can safely be replaced
2 from __future__ import absolute_import 2 from __future__ import absolute_import
3 3
4 substitutions = [ 4 substitutions = [
5 # list of possible compressions 5 # list of possible compressions
6 (br'zstd,zlib,none,bzip2', 6 (br'(zstd,)?zlib,none,bzip2',
7 br'$USUAL_COMPRESSIONS$' 7 br'$USUAL_COMPRESSIONS$'
8 ), 8 ),
9 # capabilities sent through http 9 # capabilities sent through http
10 (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A' 10 (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A'
11 br'changegroup%253D01%252C02%250A' 11 br'changegroup%253D01%252C02%250A'