tests/common-pattern.py
changeset 35234 f0445eea9b93
parent 35233 1b22d325089c
child 35259 ad5f2b923b0d
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'